Debugging in an IDE
Using an IDE offers many advantages over using a simple text editor to write code. There is an astounding number of Python IDEs available today, ranging from open source solutions (some of which are written in Python) to commercial packages. Of the many advantages IDEs offer, the ability to step through and debug your code is one of the best. We already looked at using print statements for messaging and to notify you of progress and execution throughout your script. When debugging, you can set points in your scripts to pause execution, known as breakpoints. In conjunction with breakpoints, you can step through your code either line by line, breakpoint to breakpoint, or any combination of the two, all the while being able ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access