Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Set break point on variable in memory

Posted on 2004-08-12
1
265 Views
Last Modified: 2010-04-01
Dear all,

I am using c/c++ modules of Visual Studio 6.0, is it feasible to set a break
point to a global variable or an instance of structure, once variable or
member of structure changed, the break point will be triggered?

Any help is much appreciated.

--
Best regards,
Lurc

0
Comment
Question by:lurc
1 Comment
 
LVL 13

Accepted Solution

by:
SteH earned 100 total points
ID: 11781457
Have you had a look at the breakpoints dialog (Alt + F9)? Second tab is called data; chose an expression for this global variable as breakpoint
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question