Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on August 12, 2010, 11:47:11 pm
-
I wrote a program , when run, it crashed. I compile it with -g , and use ide debugger to debug it . When F8 , it just report crash , (something sig???) , but It cannot locate in which line , it crashed.
I have to install drmingw , it reported which line cause crash. ( delete[] b;// of course , the real bug is not here).
can ide debugger locate the lines when program crash(with -g ) like vc++?
-
I'm also having some difficulty getting the integrated debugging working (10.05/Linux).
It seems ok with a regular static application program, but I can't seem to debug our stuff which uses shared libraries. I'm using kdbg for debugging as a workaround.
Codeblocks for development + kdbg for debugging is the closest I've got to the 'visual studio experience'.
Thanks to the Codeblocks team for all your hard work. It's coming together nicely.
-
If you've got a crash on a delete but the pointer seems fine, you've got a memory stomp.
Comment out sections of code until it stops to isolate.
Memory diagnostics tools like purify might spot the stomp for you.