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: \'clear -1\' in pdb
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, georg.brandl, mpech, rhettinger
Priority: normal Keywords:

Created on 2005-04-29 10:30 by mpech, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pdb-index.jpg mpech, 2005-04-29 10:30
pdb-breakpoint-diff georg.brandl, 2005-06-04 10:11
Messages (4)
msg25175 - (view) Author: Pechkin (mpech) Date: 2005-04-29 10:30
Delete breakpoints like in %subj% is great feature, but
wrong.
Add additional check like in do_enable()
if not (0 <= i < len(bdb.Breakpoint.bpbynumber)):
msg25176 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-06-04 10:11
Logged In: YES 
user_id=1188172

Attached patch which implements the check.
msg25177 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-08-24 05:04
Logged In: YES 
user_id=80475

For the print statement, I would have used something simpler:

  print 'No breakpoint numbered', i
msg25178 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-08-24 09:04
Logged In: YES 
user_id=1188172

Okay, committed as Lib/pdb.py 1.74, 1.73.2.1.
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41923
2005-04-29 10:30:56mpechcreate