summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-11-29 11:54:17 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-11-29 11:54:17 (GMT)
commit6f1070485f54469d7bf48df8306e398609340a07 (patch)
tree08eda3c912bb78c17b0655e140161da0213126d7 /Doc/library/pdb.rst
parentead22227cce112457b6beba8b008699ea4a3a084 (diff)
downloadcpython-6f1070485f54469d7bf48df8306e398609340a07.zip
cpython-6f1070485f54469d7bf48df8306e398609340a07.tar.gz
cpython-6f1070485f54469d7bf48df8306e398609340a07.tar.bz2
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 98b23f6..3ef3696 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -256,8 +256,9 @@ by the local file.
Temporary breakpoint, which is removed automatically when it is first hit.
The arguments are the same as for :pdbcmd:`break`.
-.. pdbcommand:: cl(ear) [bpnumber [bpnumber ...]]
+.. pdbcommand:: 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).