Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 897b9f0

Browse files
committed
Add new syntax for specifying filenames on break and clear commands.
1 parent 136a112 commit 897b9f0

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

Doc/lib/libpdb.tex

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ \section{Debugger Commands}
163163
Move the current frame one level up in the stack trace
164164
(to a newer frame).
165165
166-
\item[b(reak) \optional{\var{lineno}\code{\Large|}\var{function}%
166+
\item[b(reak) \optional{\optional{\var{filename}:}\var{lineno}%
167+
\code{\Large|}\var{function}%
167168
\optional{, \code{'}\var{condition}\code{'}}}]
168169
169170
With a \var{lineno} argument, set a break there in the current
@@ -173,11 +174,19 @@ \section{Debugger Commands}
173174
quotes!) specifying an expression which must evaluate to true before
174175
the breakpoint is honored.
175176
176-
\item[cl(ear) \optional{\var{lineno}}]
177+
The line number may be prefixed with a filename and a colon,
178+
to specify a breakpoint in another file (probably one that
179+
hasn't been loaded yet). The file is searched on \code{sys.path}.
180+
181+
\item[cl(ear) \optional{\optional{\var{filename}:}\var{lineno}}]
177182
178183
With a \var{lineno} argument, clear that break in the current file.
179184
Without argument, clear all breaks (but first ask confirmation).
180185
186+
The line number may be prefixed with a filename and a colon,
187+
to specify a breakpoint in another file (probably one that
188+
hasn't been loaded yet). The file is searched on \code{sys.path}.
189+
181190
\item[s(tep)]
182191
183192
Execute the current line, stop at the first possible occasion
@@ -201,7 +210,7 @@ \section{Debugger Commands}
201210
Continue execution, only stop when a breakpoint is encountered.
202211
203212
\item[l(ist) \optional{\var{first\optional{, last}}}]
204-
213+
ppp
205214
List source code for the current file. Without arguments, list 11
206215
lines around the current line or continue the previous listing. With
207216
one argument, list 11 lines around at that line. With two arguments,

0 commit comments

Comments
 (0)