Skip to content

Commit 4b71ebb

Browse files
committed
DBG: fix py2 compat
1 parent 35e7a8d commit 4b71ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows/debug/debugger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def _setup_breakpoint_MEMBP(self, bp, target):
424424
def _restore_breakpoint_MEMBP(self, bp, target):
425425
for (page_addr, page_prot) in bp._reput_pages:
426426
target.virtual_protect(page_addr, PAGE_SIZE, page_prot, None)
427-
bp._reput_pages.clear()
427+
del bp._reput_pages[:]
428428

429429

430430
def _remove_breakpoint_MEMBP(self, bp, target):

0 commit comments

Comments
 (0)