summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-11-29 12:41:03 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-11-29 12:41:03 (GMT)
commit9a5897bbf816404c081944187df6acc78811491a (patch)
treefb7f5a1e06d6341babb1259860152ae2a002238c /Doc/library/pdb.rst
parent8244c575ed4b57fa9742dbd4a7efeb4cb7766c8d (diff)
downloadcpython-9a5897bbf816404c081944187df6acc78811491a.zip
cpython-9a5897bbf816404c081944187df6acc78811491a.tar.gz
cpython-9a5897bbf816404c081944187df6acc78811491a.tar.bz2
Merged revisions 86861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86861 | senthil.kumaran | 2010-11-29 19:54:17 +0800 (Mon, 29 Nov 2010) | 5 lines Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number. Handle multiple breakpoints at same line. Update docs/test. Patch by Xavier de Gaye. ........
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index f6651ab..d22fbc0 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -239,7 +239,8 @@ tbreak [[*filename*:]\ *lineno* | *function*\ [, *condition*]]
Temporary breakpoint, which is removed automatically when it is first hit. The
arguments are the same as break.
-cl(ear) [*bpnumber* [*bpnumber ...*]]
+cl(ear) [*filename:lineno* | *bpnumber* [*bpnumber ...*]]
+ With a *filename:lineno* argument, clear all the breakpoints at this line.
With a space separated list of breakpoint numbers, clear those breakpoints.
Without argument, clear all breaks (but first ask confirmation).