summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-20 23:29:10 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-20 23:29:10 (GMT)
commit897b9f0b0d6ffdb56ee3587666fe67d530d2ac39 (patch)
tree36813b9c3660f4de1d0c34d7fdc6805034e193cb /Doc
parent136a112bf18208f65026759bd15c8cb8ee2c5dc1 (diff)
downloadcpython-897b9f0b0d6ffdb56ee3587666fe67d530d2ac39.zip
cpython-897b9f0b0d6ffdb56ee3587666fe67d530d2ac39.tar.gz
cpython-897b9f0b0d6ffdb56ee3587666fe67d530d2ac39.tar.bz2
Add new syntax for specifying filenames on break and clear commands.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libpdb.tex15
1 files changed, 12 insertions, 3 deletions
diff --git a/Doc/lib/libpdb.tex b/Doc/lib/libpdb.tex
index 50a841e..5a19ea5 100644
--- a/Doc/lib/libpdb.tex
+++ b/Doc/lib/libpdb.tex
@@ -163,7 +163,8 @@ Move the current frame one level down in the stack trace
Move the current frame one level up in the stack trace
(to a newer frame).
-\item[b(reak) \optional{\var{lineno}\code{\Large|}\var{function}%
+\item[b(reak) \optional{\optional{\var{filename}:}\var{lineno}%
+ \code{\Large|}\var{function}%
\optional{, \code{'}\var{condition}\code{'}}}]
With a \var{lineno} argument, set a break there in the current
@@ -173,11 +174,19 @@ If a second argument is present, it is a string (included in string
quotes!) specifying an expression which must evaluate to true before
the breakpoint is honored.
-\item[cl(ear) \optional{\var{lineno}}]
+The line number may be prefixed with a filename and a colon,
+to specify a breakpoint in another file (probably one that
+hasn't been loaded yet). The file is searched on \code{sys.path}.
+
+\item[cl(ear) \optional{\optional{\var{filename}:}\var{lineno}}]
With a \var{lineno} argument, clear that break in the current file.
Without argument, clear all breaks (but first ask confirmation).
+The line number may be prefixed with a filename and a colon,
+to specify a breakpoint in another file (probably one that
+hasn't been loaded yet). The file is searched on \code{sys.path}.
+
\item[s(tep)]
Execute the current line, stop at the first possible occasion
@@ -201,7 +210,7 @@ Continue execution until the current function returns.
Continue execution, only stop when a breakpoint is encountered.
\item[l(ist) \optional{\var{first\optional{, last}}}]
-
+ppp
List source code for the current file. Without arguments, list 11
lines around the current line or continue the previous listing. With
one argument, list 11 lines around at that line. With two arguments,