Problem solve Get help with specific problems with your technologies, process and projects.

Stopping Visual C++ debugger

In my Visual C++ application, I need to stop in the debugger when a specific memory location is read. Is there any way to do that?
In the Visual C++ debugger, you can only stop on memory location writes if the data changes. However, the magical new version of WinDBG available at www.microsoft.com/ddk/debugging offers a BA (Break on Access) command that will stop on memory reads. Be prepared to spend some time with WinDBG as it's much harder to use that the Visual Studio debugger.
This was last published in January 2001

Dig Deeper on Windows client management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.