Solved

Set break point on variable in memory

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now