You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works until I call pluginsdk.debug.StepOver() or pluginsdk.debug.Run in bp_callback. Everything just hangs or is not responding anymore. If I run these two commands from x64dbg GUI everything works as expected. Tried to execute as GUI and async script, seems there is no difference, am I missing something here?
Thank you so much! I ran into the same problem, but it seems that I can only run the pluginsdk.x64dbg.DbgCmdExecDirect('run') command to solve the current dilemma.
Only visible simple solution this.
Dont use any callbacks on breakpoints, but save info about address with breakpoints into python dictionary. Something like callbacks emulation.
For continue execution run: pluginsdk.debug.Run()
After debugger stop on breakpoint, check ip and saved info for address and run own code related to it.
For continue execution run again pluginsdk.debug.Run()
This works until I call pluginsdk.debug.StepOver() or pluginsdk.debug.Run in bp_callback. Everything just hangs or is not responding anymore. If I run these two commands from x64dbg GUI everything works as expected. Tried to execute as GUI and async script, seems there is no difference, am I missing something here?
`import threading
bpAddress = 0x00007FF6EFB1F4D0
def bp_callback():
print("tid={num:d} 0x{num:X}".format(num=threading.currentThread().ident))
global bpAddress
pluginsdk.bridgemain.GuiLogClear()
print("rcx={num:d} 0x{num:X}".format(num=Register.RCX))
print("rdx={num:d} 0x{num:X}".format(num=Register.RDX))
Breakpoint.add(bpAddress, bp_callback)`
The text was updated successfully, but these errors were encountered: