September 2019
Beginner to intermediate
494 pages
13h
English
Breakpoints, as the term suggests, are markers to be placed in our programs to indicate places where the execution in a debugging session should pause. While a program being debugged is paused, developers then can examine that frozen state of the program as well as its variables, with the goal of gaining insight into how those variables are mutated at a specific step of the program. We will see that this is the exact tool we need to debug our example program.
Breakpoints are to be placed at specific lines of code in our program. To insert a breakpoint in PyCharm's editor, click on the region between the line numbers and the actual code, called the gutter, at a line where you'd like to place a breakpoint. Once placed, PyCharm's ...