This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pdb: implement "until",fix for 1248119
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: benjamin.peterson Nosy List: benjamin.peterson, georg.brandl, isandler, yqiang
Priority: normal Keywords: patch

Created on 2005-08-24 02:24 by isandler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
until.patch benjamin.peterson, 2008-05-09 23:08
Messages (4)
msg48666 - (view) Author: Ilya Sandler (isandler) Date: 2005-08-24 02:24
The patch implements the "until" command in pdb

"until" command 
continues execution until the line with a number
greater than the current one is reached or until the
current frame returns"""

which allows to quickly step through the loops or list
comprehensions without using temporary
breakpoints...(temporary breakpoints are often less
convenient: more to type, and the user needs to think
about line numbers)

The name "until" is borrowed from gdb..

There is a small issue of abbreviations current pdb
abbreviates 
up as "u"
until as "unt"

While gdb abbreviates until as "u", and up has no
abbreviation...

Should abbreviations be synced?
msg66494 - (view) Author: Yi Qiang (yqiang) Date: 2008-05-09 22:16
Any more progress on this issue? I ran into this same issue today and
was very annoyed at the behavior of pdb in this regard. What must be
done to include this in the mainstream pdb distribution?
msg66604 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-11 06:58
Benjamin: please reformat to PEP 8, then this is okay to check in. Don't
forget docs and NEWS updates.
msg66632 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-05-11 14:14
Reviewed and committed in r63061
History
Date User Action Args
2022-04-11 14:56:12adminsetgithub: 42300
2009-02-16 00:27:19ajaksu2linkissue1248119 superseder
2008-05-11 14:15:05benjamin.petersonsetstatus: open -> closed
2008-05-11 14:14:22benjamin.petersonsetmessages: + msg66632
2008-05-11 06:58:19georg.brandlsetassignee: benjamin.peterson
resolution: accepted
messages: + msg66604
nosy: + georg.brandl, benjamin.peterson
2008-05-09 23:08:57benjamin.petersonsetfiles: + until.patch
2008-05-09 23:08:17benjamin.petersonsetfiles: - until.patch
2008-05-09 22:16:19yqiangsetnosy: + yqiang
messages: + msg66494
2005-08-24 02:24:32isandlercreate