mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
DBG: fix py2 compat
This commit is contained in:
@@ -424,7 +424,7 @@ class Debugger(object):
|
||||
def _restore_breakpoint_MEMBP(self, bp, target):
|
||||
for (page_addr, page_prot) in bp._reput_pages:
|
||||
target.virtual_protect(page_addr, PAGE_SIZE, page_prot, None)
|
||||
bp._reput_pages.clear()
|
||||
del bp._reput_pages[:]
|
||||
|
||||
|
||||
def _remove_breakpoint_MEMBP(self, bp, target):
|
||||
|
||||
Reference in New Issue
Block a user