Often, that's all you need the debugger for.
Provided you've compiled with debug information (the -g) flag, just run the code under the debugger and when it crashes, type "where" and it will show...
Type: Posts; User: brewbuck
Often, that's all you need the debugger for.
Provided you've compiled with debug information (the -g) flag, just run the code under the debugger and when it crashes, type "where" and it will show...
I don't understand why you would eschew a debugger, a tool which is capable of instantly and 100% accurately pinpointing a segfault.