mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.
Handle multiple breakpoints at same line. Update docs/test. Patch by Xavier de Gaye.
This commit is contained in:
parent
ead22227cc
commit
6f1070485f
5 changed files with 31 additions and 9 deletions
|
@ -774,7 +774,8 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
except ValueError as err:
|
||||
self.error(err)
|
||||
else:
|
||||
self.clear_break(bp.file, bp.line)
|
||||
self.clear_bpbynumber(i)
|
||||
#self.clear_break(bp.file, bp.line)
|
||||
self.message('Deleted %s' % bp)
|
||||
do_cl = do_clear # 'c' is already an abbreviation for 'continue'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue