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...
See [Matloff-Salzman-debugging] for information about GDB and DDD.