diff options
author | Georg Brandl <georg@python.org> | 2010-07-30 08:45:26 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-30 08:45:26 +0000 |
commit | f07bc15d88bcd644bcc7bedcfc87174216ca17b4 (patch) | |
tree | 79c78c996830c02d402dd2a23747f31f72d95ddf /Lib/pdb.py | |
parent | cccf2ed15e761181718389c548b6f01c4fa96f0c (diff) | |
download | cpython-f07bc15d88bcd644bcc7bedcfc87174216ca17b4.tar.gz |
Document the "jump" command in pdb.__doc__, and add a version tag for "until X".
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py index 7c6b84854c..cedd17ed71 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -147,6 +147,16 @@ unt(il) [lineno] or equal to that is reached. In both cases, also stop when the current frame returns. +j(ump) lineno + Set the next line that will be executed. Only available in + the bottom-most frame. This lets you jump back and execute + code again, or jump forward to skip code that you don't want + to run. + + It should be noted that not all jumps are allowed -- for + instance it is not possible to jump into the middle of a + for loop or out of a finally clause. + r(eturn) Continue execution until the current function returns. |