This chapter is taken from book A Primer on Scientific Programming with Python by H. P. Langtangen, 4th edition, Springer, 2014.
Using a debugger
How to debug
A recipe for program writing and debugging
Application of the recipe
Getting help from a code analyzer
References