New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HW Breakpoints not set in DRx Registers when Debuger starts a JIT Debugger #1942

Open
willi-neu9 opened this Issue May 4, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@willi-neu9

willi-neu9 commented May 4, 2018

X64dbg Version Apr 5 2018

(Report is for both Versions of X64dbg x32 and X64 Version)

If in a previous session of Debugging HW Breakpoints are set, and X64/32Dbg is loaded by an exception of Debugee (JIT Load) then HW Breakpoints are not copied to DRx Registers.
Workaround Disabling HW Breakpoints and Reenabling HW Breakpoints after JIT load copies the Breakpoints to Processor DRx Registers correctly.

Issue can easily be reproduced. Just take any excecutable, add a "__debugbreak ()" Statement at program start. Set any HW breakpoints. Close Debugging session. Start Debugee outside of X64dbg.
x64dbg loads by JIT load. Look at DRx Registers and try run. No stop at HW Breakpoints.

Best Regards

/Willi/

@willi-neu9

This comment has been minimized.

willi-neu9 commented Jul 7, 2018

Hi mrexodia,

I think the above bug is still unfixed even in the Version Jul 05 2018. It is not importent for me that it is fixed immediately. So if you find the time to take a another look. here is the copy of files from closed case #1981 that may help you to reproduce the above bug:

BugDescriptionFiles.zip

I promise that this is my last update for this case.

Best regards

/Willi/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment