|
Lé Oops!
Keep Clam And Proofread
--
√(-1) 23 ∑ π...
And it was delicious.
|
|
|
|
|
Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to?
I just did .
You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."
|
|
|
|
|
Well, everybody brainfarts from time to time, so do not feel stupid. Plus, that one seems pretty obvious to debug.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Rage wrote: Plus, that one seems pretty obvious to debug.
Genius me started to look for a bug in the TCP Client/Server implementation - For 15 minutes until I reckoned that the client's send method was never called - I think you can guess why .
You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."
|
|
|
|
|
Nah, Sometimes I debug a huge amount of code (that i previously tested) to find a problem more obvious (like and '!' in front of a Boolean expression).
|
|
|
|
|
_Psychopomp_ wrote: asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? [You may breathe here]
Just to prevent some accident.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
I think once or twice, the opposite has happened to me. Implemented an method, but then forgot to add the method call, and then wonder why my breakpoints aren't hitting.
|
|
|
|
|
_Psychopomp_ wrote: you haven't implemented the OnClick event of the Button
Just this morning I spent 30 minutes typing in over and over "www.codeproject.com", and then I realized I hadn't pushed the power button on my computer.
Marc
|
|
|
|
|
That's called a "back to bed" day...
The only instant messaging I do involves my middle finger.
|
|
|
|
|
I do that every morning.
Life is too shor
|
|
|
|
|
Lé Oops!
Keep Clam And Proofread
--
√(-1) 23 ∑ π...
And it was delicious.
|
|
|
|
|
Brisingr Aerowing wrote: √(-1) 23 ∑ π..
Thanks for exercising my old math parts.
|
|
|
|
|
Don't feel bad. I just found a create table statement with an extra comma that caused an infinite loop. The statement was added over 4 months ago. Unfortunately, it was discovered on a client remote.
"Go forth into the source" - Neal Morse
|
|
|
|
|
NO, no I never have.
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
Once, I implemented a mail client/server in Java long back (around 2002 I think). I found that no mails are being sent. I started putting System.out messages everywhere (No debugging tools back then Used to use notepad to write code). Finally to find out that the sendMail method was never called. Took around 30 minutes to find that that line was commented by me the previous day to do some fast coding+debugging on UI feature.
|
|
|
|
|
I did that in a demo to a new client but then quickly thinking on feet savd the day. I loudly yelled "So, this is how we debug, folks... Who wants to have coffee break?"....
|
|
|
|
|
I want a tee-shirt that says that.
(Not sure the Mrs will like it, though)
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I do something of the like.
I write functions and spend quite some time making sure it works fine and it won't blow up on me. Then I go to debug the darn thing to see if it works only to find that I didn't even called the function where I should. So I'm just left with a function that isn't called anywhere and wondering why the hell the darn thing doesn't work.
Just last week I did this 3 times in the same day (it was a bad day).
|
|
|
|
|
You're not supposed to click things any more, anyway, not when you've got greasy fingers that can tap.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I used to (and still do) have an issue with semicolons when coding in C/C++. I will get so used to placing them at the end of each line that I will inadvertently put one at the end of an if/while/for statement and then try to figure out why the following code only ran once.
|
|
|
|
|
Yes, and it's the moment where I simply stop working and go to get some coffe and fresh air...
|
|
|
|
|
I spent two weeks in the field once trying to find out why a conveyor would stop working. I rewrote a colleague's code that I thought was too sloppy in handling 8 bits in a 16 bit register and its inverse. Still failed.
Finally back in the office, problem unsolved, one of other programmers offered his help. I pulled up the code and said pointing at the code, "it does this, then it does that, and what the hell is that doing there?"
I had cloned a subroutine and changed all but one reference in it from the original. My eyes had glided over it, I don't know how many times, but it was a lot.
It didn't help that the hardware was operating in a manner not described in the manual. A scale was to report the weight of a package when the package was between photoeyes mounted at 1". The client was trying to sort 1/2" cutting boards and the scale realized it had weight on it without seeing a package from the leading photoeye and would respond immediately instead of last in a chain of events.
The code was written not to care about order, but that one out of place command introduced an implied sequence of order that normal carton flow allowed to exist.
Psychosis at 10
Film at 11
Those who do not remember the past, are doomed to repeat it.
Those who do not remember the past, cannot build upon it.
|
|
|
|
|
numerous times I have used = instead of ==
Doh!
|
|
|
|
|
1. If you need to debug one piece of code more than once, check your hungry/thirsty/wc status. If there is a problem, solve it.
2. If you need to debug more than three times in a row for single module/class/function (depends on language), check what time is it. If it is late night, go to sleep.
3. Don't forget it also seems there is some connection between your health status and the computer programming way of thinking, so check your health status.
If none three of the above apply, don't forget that "code as you think" programming requires you to be exact (machine-like thinking), while human imperfect but resilience to errors thinking model does not follow exactly the rules, so errors occurs, that's ok.
|
|
|
|
|
Happens all the time!
|
|
|
|