summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-04 11:20:26 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-04 11:20:26 (GMT)
commit1acb746d79c2affbac6fb98e5abad1682bdf7f6f (patch)
tree1e8ebee864158a90388535f951538c6f81b2a3d5 /Doc/library/pdb.rst
parent732324a3f86a352217b01ae2438b6db7691ae0b1 (diff)
downloadcpython-1acb746d79c2affbac6fb98e5abad1682bdf7f6f.zip
cpython-1acb746d79c2affbac6fb98e5abad1682bdf7f6f.tar.gz
cpython-1acb746d79c2affbac6fb98e5abad1682bdf7f6f.tar.bz2
Add the "interact" pdb command from pdb++.
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 3ef3696..db21d1f 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -407,6 +407,14 @@ by the local file.
.. versionadded:: 3.2
+.. pdbcommand:: interact
+
+ Start an interative interpreter (using the :mod:`code` module) whose global
+ namespace contains all the (global and local) names found in the current
+ scope.
+
+ .. versionadded:: 3.2
+
.. _debugger-aliases:
.. pdbcommand:: alias [name [command]]