summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-04 16:21:42 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-04 16:21:42 (GMT)
commitcbc79c76a8fd11660ac6aa7681ed1d9e75d5df2e (patch)
tree6517d21805ab84ccea279853d41c6a22b36ff034 /Doc/library/pdb.rst
parent44f2b640ff0260f5e338e41ad3a2d13185396979 (diff)
downloadcpython-cbc79c76a8fd11660ac6aa7681ed1d9e75d5df2e.zip
cpython-cbc79c76a8fd11660ac6aa7681ed1d9e75d5df2e.tar.gz
cpython-cbc79c76a8fd11660ac6aa7681ed1d9e75d5df2e.tar.bz2
Add display/undisplay pdb commands.
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 959fde1..8335993 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -417,6 +417,22 @@ by the local file.
.. versionadded:: 3.2
+.. pdbcommand:: display [expression]
+
+ Display the value of the expression if it changed, each time execution stops
+ in the current frame.
+
+ Without expression, list all display expressions for the current frame.
+
+ .. versionadded:: 3.2
+
+.. pdbcommand:: undisplay [expression]
+
+ Do not display the expression any more in the current frame. Without
+ expression, clear all display expressions for the current frame.
+
+ .. versionadded:: 3.2
+
.. pdbcommand:: interact
Start an interative interpreter (using the :mod:`code` module) whose global