Q

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 first published in January 2001

Dig deeper on Windows Operating System Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close