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