Posted September 7, 20168 yr Hello there, 1. Is it me or the "Run to user code" not working? It seems that I could not make x64dbg pause at user code. Is it a bug? 2. Could you comment out the "SetForegroundWindow" in cbStep()? I have a plugin which is a dialogbox that has 2 button "Run" and "Pause". When it is in running mode, it continuously calls "eSingleStep", SetForegroundWindow in cbStep() is called and makes the main window form active. Since then I could not press the "Pause" button on my dialogbox because the main window is always active and the dialogbox is always inactive. Thank you.
September 8, 20168 yr Hey, next time please open issues at http://issues.x64dbg.com Now, run to user also never worked for me. An alternative solution is to call "TraceIntoConditional mod.party(cip)==0" I could comment it out, but generally I like this behavior. Also it is called before the plugin callback for a reason, just call the same thing on your dialog for every step to solve it Probably I will make an option at some point, multiple people have complained about this already.
September 8, 20168 yr Author Thank you. I will open issue next time. Hopefully, you will make an option soon because calling SetForegroundWindow on dialog causes it active, but immediately it again switches to main window. It continues switching between dialog and mainwindow and I still could not click pause button.
September 9, 20168 yr 11 hours ago, MarkJoy said: Thank you. I will open issue next time. Hopefully, you will make an option soon because calling SetForegroundWindow on dialog causes it active, but immediately it again switches to main window. It continues switching between dialog and mainwindow and I still could not click pause button. This may help as a temporary solution to your problem in the meantime... https://tuts4you.com/download.php?view.3551 Ted.
September 9, 20168 yr Hehe, Olly 1 has similar issue - when running script that's using breakpoints/single steps in a loop (simple example - tracing some VM), olly keeps calling SetForegroundWindow. This gets bloody annoying if you want to do something else while the script is running.
September 10, 20168 yr Author 16 hours ago, Teddy Rogers said: This may help as a temporary solution to your problem in the meantime... https://tuts4you.com/download.php?view.3551 Ted. Thanks Ted. It's a good tool, unfortunately it's not working in my case. It's switching between mainwindow and my dialogbox even with superpin enable. While waiting for mrexodia to add an option, I can compile a custom x64dbg that fits my use. @kao: yeah, it's very annoying!! :))
September 10, 20168 yr https://github.com/x64dbg/x64dbg/commit/ddd229302fd78f05e6671e7f233c3166e671b29c Notice that since you already know how to compile x64dbg it would have been easy enough for you to open a pull request. We are looking for contributers, see http://contribute.x64dbg.com
Create an account or sign in to comment