MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / deleteMe

Method deleteMe

tools/python-3.11.9-amd64/Lib/bdb.py:710–722  ·  view source on GitHub ↗

Delete the breakpoint from the list associated to a file:line. If it is the last breakpoint in that position, it also deletes the entry for the file:line.

(self)

Source from the content-addressed store, hash-verified

708 Breakpoint.bpbynumber = [None]
709
710 def deleteMe(self):
711 """Delete the breakpoint from the list associated to a file:line.
712
713 If it is the last breakpoint in that position, it also deletes
714 the entry for the file:line.
715 """
716
717 index = (self.file, self.line)
718 self.bpbynumber[self.number] = None # No longer in list
719 self.bplist[index].remove(self)
720 if not self.bplist[index]:
721 # No more bp for this f:l combo
722 del self.bplist[index]
723
724 def enable(self):
725 """Mark the breakpoint as enabled."""

Callers 4

clear_breakMethod · 0.80
clear_bpbynumberMethod · 0.80
clear_all_file_breaksMethod · 0.80
clear_all_breaksMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected