Again a small C++ debugging report
Posted on:July 02 2010
I love C++, after all, it's still the most powerful high level language out there. There is nearly nothing you can't do with it. But sometimes, it totally annoys me. Like this problem which hits me about 4 or 5 times a year:
Yesterday, I had a bug in my program where I couldn't figure out why it was happening. It was reproducible, but made no sense. The debugger showed the program did the right thing but the output wasn't correct. So I debugged the program for about 30 minutes, until I gave up.
Then, I cleaned the built object files and rebuilt the whole project from scratch. TADA. Bug disappeared. *grml*
I know, this happens from time to time. The built executable gets corrupted somehow and a rebuild helps. But this time I swear: I'll remember: If it makes no sense, rebuild FIRST! :)
Comments:
ak
Quote
2010-07-02 14:55:00
Chris
Quote
2010-07-02 15:29:00
rip
Quote
2010-07-02 15:50:00
giggsy
Quote
2010-07-02 16:10:00
tiv
Quote
2010-07-02 16:58:00
DrHalan
Quote
2010-07-02 18:51:00
Virion
Quote
2010-07-02 21:09:00
agrif
Quote
2010-07-02 23:57:00
garixi
Quote
2010-07-03 00:52:00
Brainsaw
Quote
2010-07-05 07:31:00
KIENI
Quote
2010-07-05 08:53:00
Add comment:
Possible Codes
Feature | Code |
Link | [url] www.example.com [/url] |
Bold | [b]bold text[/b] |
Quote | [quote]quoted text[/quote] |
Code | [code]source code[/code] |
Emoticons