mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Bomb on deleting a temporary breakpoint: there's no method
do_delete(); do_clear() was meant. By Greg Ward.
This commit is contained in:
parent
3fe1b14c96
commit
691d27a7ae
@ -96,7 +96,7 @@ class Bdb: # Basic Debugger
|
||||
if bp:
|
||||
self.currentbp = bp.number
|
||||
if (flag and bp.temporary):
|
||||
self.do_delete(str(bp.number))
|
||||
self.do_clear(str(bp.number))
|
||||
return 1
|
||||
else:
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user