diff options
-rw-r--r-- | Doc/library/pdb.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 0b9a687b14..606e8e5345 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -531,6 +531,14 @@ by the local file. Quit from the debugger. The program being executed is aborted. +.. pdbcommand:: debug code + + Enter a recursive debugger that steps through the code + argument (which is an arbitrary expression or statement to be + executed in the current environment). + +.. pdbcommand:: retval + Print the return value for the last return of a function. .. rubric:: Footnotes |