Improve company productivity with a Business Account.Sign Up

x
?
Solved

Set break point on variable in memory

Posted on 2004-08-12
1
Medium Priority
?
287 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 300 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

589 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