mirror of
https://github.com/python/cpython.git
synced 2024-12-16 13:25:18 +08:00
bpo-36277: Add document for pdb debug and retval commands (GH-12872)
https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella
This commit is contained in:
parent
6db2fb7c30
commit
9391f6c3ef
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user