Hardware breakpoints on XP 64 bit

Has anyone received hardware breakpoints for working on 64-bit XP, and if so, how?

We have an application that uses hardware breakpoints that have been running on 32-bit XP operating systems and 32-bit Vista for a while. However, putting our code on a 64-bit bit, we get a failure when the application runs on a 64-bit version of XP, but not when running on a 64-bit version of Vista. The application is compiled and built on XP.

We highlighted this to resume flow after setting a breakpoint (DR7 = 1). A crash occurs if we create a dialog box with a file, and the GUI controls on the forms are pretty flaky. Oddly enough, if after setting a breakpoint and observing a broken GUI, we then turn off the breakpoint (DR7 = 0), the GUI will start behaving normally again, and raising the file dialog box will not crash.

We replaced our breakpoint set code with another example breakpoint code, and each example has the same problem.

+3
source share
3 answers

- 64- XP, , ?

, a no then!

MFC Visual Studio , . , , .

XP x64 Vista/7. , Microsoft XP x64 , Office 2010.

+1

Codeproject : " // "

+1

Visual Studio has data breakpoints. You can disable the debugger when writing to a specific memory address.

http://msdn.microsoft.com/en-us/library/350dyxd0.aspx

+1
source

Source: https://habr.com/ru/post/1730539/


All Articles