summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-06-27 10:37:48 (GMT)
committerGeorg Brandl <georg@python.org>2010-06-27 10:37:48 (GMT)
commiteb1f4aa2321e5ac19e3139858c09e5b1c7acc668 (patch)
treede43df1847e77c29286046e0d34a6549c6ec3479 /Doc/library/pdb.rst
parent952867aa306dda2a710df4c286b5d9f0593e3d34 (diff)
downloadcpython-eb1f4aa2321e5ac19e3139858c09e5b1c7acc668.zip
cpython-eb1f4aa2321e5ac19e3139858c09e5b1c7acc668.tar.gz
cpython-eb1f4aa2321e5ac19e3139858c09e5b1c7acc668.tar.bz2
#9064: accept number of frames for "up" and "down" commands in pdb.
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 47a11ed..9a33349 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -210,11 +210,13 @@ w(here)
Print a stack trace, with the most recent frame at the bottom. An arrow
indicates the current frame, which determines the context of most commands.
-d(own)
- Move the current frame one level down in the stack trace (to a newer frame).
+d(own) [*count*]
+ Move the current frame *count* (default one) levels down in the stack trace
+ (to a newer frame).
-u(p)
- Move the current frame one level up in the stack trace (to an older frame).
+u(p) [*count*]
+ Move the current frame *count* (default one) levels up in the stack trace
+ (to an older frame).
b(reak) [[*filename*:]\ *lineno* | *function*\ [, *condition*]]
With a *lineno* argument, set a break there in the current file. With a