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
When the breakpoint is hit, I want to do two things. bp eax and bp ebx. Is there a way to automatically do that? I have tried conditional breakpoint, but it seems only support one command. Also, I've tried the script way using scriptload, but it just load the script and will not execute it automatically. I need to switch to the script window and execute it manually
The text was updated successfully, but these errors were encountered:
There is no (working) way to invoke a script on a breakpoint right now. But for your thing specifically you can use a ; to separate commands. Note that this doesn't scale nicely, but a command like bp eax; bp ebx should work fine. Another possibility is to write a plugin that does as many commands as you like (possibly in C# using https://github.com/x64dbg/DotX64Dbg)
I just discovered the ; way, it's cool that it works but it's a pain in the ass to work with.
Best I could do is to have a script that runs SetBreakpointCommand, but with each change I need to do the following:
save script file
switch to script tab
reload script
pause debugged app
run script
resume app and go back to cpu tab
If I could do all of the above in one click it would be so much better! Maybe I need to script the script runner
Current breakpoint command just runs a few commands without changing x64dbg to a paused state first, therefore some commands, like "run", could not be used. x64dbg have to properly enter a paused state before starting executing script. This has a big performance penalty. I think we need a separate property for conditional breakpoint where you can specify a label in the script to execute, so x64dbg knows it need to use a slower and different approach to properly handle this. This also means if your script contains no "run" command in this section, then the debuggee will be left in paused state.
When the breakpoint is hit, I want to do two things. bp eax and bp ebx. Is there a way to automatically do that? I have tried conditional breakpoint, but it seems only support one command. Also, I've tried the script way using scriptload, but it just load the script and will not execute it automatically. I need to switch to the script window and execute it manually
The text was updated successfully, but these errors were encountered: