cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Debugger
Debugger
Oct 25, 2013 at 12:26pm UTC
bookerb6
(46)
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 UTC
kbw
(9488)
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 UTC
Topic archived. No new replies allowed.