User forums > General (but related to Code::Blocks)

about debugger

(1/1)

huzhongshan:
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++?

advance-software:
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.

advance-software:
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.

Navigation

[0] Message Index

Go to full version