Debugger

Oct 25, 2013 at 12:26pm
Hey guys.I wrote a program but it gives me a sig fault.I used gdb but doesnt show me the exact location.May someone please tell me a debugging tool that would suit my needs.

Oct 25, 2013 at 12:43pm
If your program isn't compiled with debug information, nothing will show you the exact location.

Without it, the best you'll get is the function where the crash occurred and a stack trace.

GDB can do what you want, but you need to build for debug.
http://www.cplusplus.com/articles/iwTbqMoL/
Last edited on Oct 25, 2013 at 12:44pm
Topic archived. No new replies allowed.