GNU Debugger

Debugger for C++ (specifically GCC).
web | etc

Notes

Usage

If you normally run:

regularfile

you now run:

gdb regularfile

This loads the executable but does not run it. At the gdb prompt set your breakpoints (break class::functionName or break filename.cpp:linenumber), then start the program (run).

Further reading
http://web.eecs.umich.edu/~sugih/pointers/summary.html
http://web.eecs.umich.edu/~sugih/pointers/gdbQS.html

Symbols not found

If symbols are not found, but you are sure they should be, consider clearing the build folder and re-running CMake/make.


CC0 / Public domain dedication To the extent possible under law, d3vid seaward has waived all copyright and related or neighboring rights to "GNU Debugger in Grasmere notebook, including code snippets" (why? how?)