diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-11 14:13:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-11 14:13:25 (GMT) |
commit | 98353941eab1922b1df1ebb1f85c9896e1716c75 (patch) | |
tree | d85f1c91b65e73f6670f7b3f468b6a893ca4ad08 /Doc | |
parent | aac5c8669f34b285c9582dd7083d74dcca31dbae (diff) | |
download | cpython-98353941eab1922b1df1ebb1f85c9896e1716c75.zip cpython-98353941eab1922b1df1ebb1f85c9896e1716c75.tar.gz cpython-98353941eab1922b1df1ebb1f85c9896e1716c75.tar.bz2 |
Add the "until" command to pdb
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/bdb.rst | 5 | ||||
-rw-r--r-- | Doc/library/pdb.rst | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst index cf8f447..82a1c21 100644 --- a/Doc/library/bdb.rst +++ b/Doc/library/bdb.rst @@ -207,6 +207,11 @@ The :mod:`bdb` module also defines two classes: Stop when returning from the given frame. + .. method:: set_until(frame) + + Stop when the line with the line no greater than the current one is + reached or when returning from current frame + .. method:: set_trace([frame]) Start debugging from *frame*. If *frame* is not specified, debugging diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 0d2a936..4eeec1e 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -267,6 +267,12 @@ n(ext) inside a called function, while ``next`` executes called functions at (nearly) full speed, only stopping at the next line in the current function.) +unt(il) + Continue execution until the line with the the line number greater than the + current one is reached or when returning from current frame + + .. versionadded:: 2.6 + r(eturn) Continue execution until the current function returns. |