January 2018
Intermediate to advanced
416 pages
10h 40m
English

IDLE includes a built-in debugger that allows you to execute your program one line at a time, making the debugger a valuable tool for finding bugs in your program. By running your program in debug mode, you can take as much time as you want to examine the values in the variables at any given point while the program is running.
In this appendix, you’ll learn about how the debugger works, then practice debugging a program from the book, and finally learn how to set breakpoints in your code for easier debugging.
To enable IDLE’s debugger, click Debug▸Debugger in the interactive shell window. The Debug ...