GDB (the GNU Debugger) can be used for debugging code when adding a "cout" in every second line isn't doing the trick. With gdb, you can ee what’s going on in your code while it runs - or what the programm was doing when it decided to crash.

Debugging code with GDB

General idea:

Further reading

ComputingGDB (last edited 2015-02-20 22:59:36 by AnnikaVauth)