My days work. Coding from 12 pm to 3 am, with a break for dinner, showering and about 2 hours at my neighbors. Picture my entire days work that i have been trying to figure out comes down to one very last compile of the night. it works...then i try it with a different set of data. What happens. A FUCKING SEGMENTATION FAULT!!!!*screams on top of
(
Read more... )
Comments 5
Do you use an IDE with a debugger? Sometimes it helps to set some stop points in the code and let it run through the debugger to see where it fucks up. You might be able to narrow it down to a single method or block of code.
BTW, have you heard about lint. Many unix systems have it installed by default (I just checked and pegassus/freddie has it). If you don't have it you can probably get it via yum, or perhaps use splint.
Reply
Reply
Well, you can always try to use gdb. It's not the most user friendly app though... :/
Reply
Reply
Leave a comment