Q
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.

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.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close