Chapter 22 Debugging
Learning objectives:
General strategy for finding and fixing errors.
We are going to explore the traceback() function which helps us to locate exactly where an error occurred.
We are going to explore how to pause the execution of a function and launch environment where we can interactively explore what’s happening.
We are going to explore the challenging problem of debugging when you’re running code non-interactively.
We are going to explore a handful of non-error problems that occasionally also need debugging.