Laboratory for Scientific Computing

Debugginging

Debugging

However good you are at programming, you will find youself spending a large amount of time debugging your programs. There are various tools available to help you debug:

  • gdb: The standard GNU debugger
  • ddd: A graphical frontend for gdb
  • valgrind: A CPU emulator, allowing for memory-leak checking, profiling, and various other debugging operations.