Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
49668576
Commit
49668576
authored
Jul 20, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new syntax for specifying filenames on break and clear commands.
parent
638cf895
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
Doc/lib/libpdb.tex
Doc/lib/libpdb.tex
+12
-3
No files found.
Doc/lib/libpdb.tex
View file @
49668576
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment