File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,13 @@ useful than quitting the debugger upon program's exit.
67
67
before the first line of the module.
68
68
69
69
70
- The typical usage to break into the debugger from a running program is to
71
- insert ::
70
+ The typical usage to break into the debugger is to insert::
72
71
73
72
import pdb; pdb.set_trace()
74
73
75
- at the location you want to break into the debugger. You can then step through
76
- the code following this statement, and continue running without the debugger
77
- using the :pdbcmd: `continue ` command.
74
+ at the location you want to break into the debugger, and then run the program.
75
+ You can then step through the code following this statement, and continue
76
+ running without the debugger using the :pdbcmd: `continue ` command.
78
77
79
78
.. versionadded :: 3.7
80
79
The built-in :func: `breakpoint() `, when called with defaults, can be used
You can’t perform that action at this time.
0 commit comments