mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Improve debugger/BP doc + add sample + small fixes in WMI/LocalDebugger + new data in ApiProxy for FunctionBP
This commit is contained in:
@@ -37,7 +37,6 @@ class SingleStepOnWrite(windows.debug.MemoryBreakpoint):
|
||||
"""Check that BP/dbg can trigger single step and that instruction follows"""
|
||||
def trigger(self, dbg, exc):
|
||||
fault_addr = exc.ExceptionRecord.ExceptionInformation[1]
|
||||
import pdb;pdb.set_trace()
|
||||
eip = dbg.current_thread.context.pc
|
||||
print("Instruction at <{0:#x}> wrote at <{1:#x}>".format(eip, fault_addr))
|
||||
dbg.single_step_counter = 4
|
||||
|
||||
Reference in New Issue
Block a user