Solved

Set break point on variable in memory

Posted on 2004-08-12
1
262 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

786 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