C++ hardware breakpoint won’t be triggered a second time
I’m currently trying to write a small application in C++ which sets a hardware breakpoint in an external program, edits a register and then continues the run of the debuggee. My code is working pretty well so far but there are a few problems I am facing when it comes to triggering the hardware breakpoint again.
First off this is my code. I can assure that the process id, the handles and the permissions aren’t causing the trouble.