- GNU/Linux debugger: gdb
- Graphical front-end: ddd
- Designed for Fortran/C, not C++
- Can debug C++ programs but has troubles on complex objects
(use the ``insert a print statement'' technique when gdb fails)
- Memory debugger: valgrind (to track pointer bugs)
- In order to debug, compile with -g flag:
c++ -g -o helloworld helloworld.cxx
- More details in the exercise book
Leo Liberti
2008-01-12