diff options
author | Georg Brandl <georg@python.org> | 2010-07-30 12:01:20 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-30 12:01:20 (GMT) |
commit | 7410dd11ef4d6f6953f690d304158cd53b357cb2 (patch) | |
tree | 6ba217d2809026291ad3f6e0e7e5da71fd70f609 /Doc | |
parent | a074523f3a8aaf3210165f236c64992d73538a32 (diff) | |
download | cpython-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.rst | 9 |
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*. |