UW AMath High Performance Scientific Computing
 
AMath 483/583 Class Notes
 
Spring Quarter, 2011

Table Of Contents

Previous topic

Optimizing Fortran

Next topic

Fortran debugging

This Page

Debugging and debuggers

See also the sections on Fortran debugging and Python debugging.

Some general comments on debugging code:

  • When developing a new program, start small with minimal features.
  • Tackle a stripped-down version of problem first if possible.
  • Once the basics are working, add new features one at a time.
  • Modularize

To be continued...

Further reading

See [Matloff-Salzman-debugging] for information about GDB and DDD.