summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-30 12:01:20 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-30 12:01:20 (GMT)
commit7410dd11ef4d6f6953f690d304158cd53b357cb2 (patch)
tree6ba217d2809026291ad3f6e0e7e5da71fd70f609 /Doc
parenta074523f3a8aaf3210165f236c64992d73538a32 (diff)
downloadcpython-7410dd11ef4d6f6953f690d304158cd53b357cb2.zip
cpython-7410dd11ef4d6f6953f690d304158cd53b357cb2.tar.gz
cpython-7410dd11ef4d6f6953f690d304158cd53b357cb2.tar.bz2
#809887: improve pdb feedback for breakpoint-related actions. Also add a functional test for these commands.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/bdb.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst
index 3d7e41b..c35e813 100644
--- a/Doc/library/bdb.rst
+++ b/Doc/library/bdb.rst
@@ -267,6 +267,15 @@ The :mod:`bdb` module also defines two classes:
Delete all existing breakpoints.
+ .. method:: get_bpbynumber(arg)
+
+ Return a breakpoint specified by the given number. If *arg* is a string,
+ it will be converted to a number. If *arg* is a non-numeric string, if
+ the given breakpoint never existed or has been deleted, a
+ :exc:`ValueError` is raised.
+
+ .. versionadded:: 3.2
+
.. method:: get_break(filename, lineno)
Check if there is a breakpoint for *lineno* of *filename*.