I am using KDevelop for C++ development and debugging. Looks like I am dereferencing an NULL pointer somewhere, because I get:
*** Program received signal SIGSEGV (Segmentation fault) ***
How can I figure out where it happened? I would like KDevelop to break on these kind of signals and unhandled exceptions.
You have to run the application inside the debugger. Press the Debug button in KDevelop in case you already have a proper launch configuration.
In KDevelop, this will open the Debug area view and run the application in GDB. After the crash, press the Frame Stack tool view on the bottom bar.
There you go.