Debugger

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.

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
Topic archived. No new replies allowed.