473,396 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

at some point the value of my variable gets broken - how to track when?

Does C++ or Visual C++ 8 provide any way to track the exact moment when the
right value of my varible is overwritten?
I have no idea how/when the value gets changed. How to debug such cases?

Apr 16 '07 #1
2 1167

"r.z." <gk***@hjkjhk.plwrote in message
news:f0**********@atlantis.news.tpi.pl...
Does C++ or Visual C++ 8 provide any way to track the exact moment when
the right value of my varible is overwritten?
I have no idea how/when the value gets changed. How to debug such cases?
In VC, there is a way to set a breakpoint on the condition of a variable's
value changing, if I recall. You should ask in a VC newsgroup. There's one
relating to the IDE which would be appropriate, but I forget its exact name.
Look on msnews.microsoft.com (or news.microsoft.com).

-Howard

Apr 16 '07 #2
thanks

"Howard" <al*****@hotmail.comwrote in message
news:WS*******************@bgtnsc05-news.ops.worldnet.att.net...
>
"r.z." <gk***@hjkjhk.plwrote in message
news:f0**********@atlantis.news.tpi.pl...
>Does C++ or Visual C++ 8 provide any way to track the exact moment when
the right value of my varible is overwritten?
I have no idea how/when the value gets changed. How to debug such cases?

In VC, there is a way to set a breakpoint on the condition of a variable's
value changing, if I recall. You should ask in a VC newsgroup. There's
one relating to the IDE which would be appropriate, but I forget its exact
name. Look on msnews.microsoft.com (or news.microsoft.com).

-Howard



Apr 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Anton Noll | last post by:
We are using Visual Studio 2003.NET (C++) for the development of our software in the fields digital signal processing and numerical acoustics. One of our programs was working correctly if we are...
24
by: j0mbolar | last post by:
C supports single precision floating point and double precision floating point but does it support fixed floating point? i've read that fixed floating point is more accurate than single precision...
8
by: shyju_kambi | last post by:
when a 'const int ' is declared, where is it been created(in RAM?) #include<stdio.h> int main() { const int i=10; const int *p; p=&i; *p=12; printf("\n %d %d",i,*p);
8
by: Simone Chiaretta | last post by:
I've a very strange behaveour related to a website we built: from times to times, something should happen on the server, and all static variables inside the web application, both defined inside aspx...
3
by: Alan Wang | last post by:
Hi there, Once my application gets complicated and complicated. I found it's really hard to keep track of Session value I am using in my asp.net application. I am just wondering if anyone have...
4
by: Svein Erik | last post by:
This is a C# 2005 project: I'm struggling to figure how to make a variable accessible and changeable in several forms in a windows application.. It's only a int variable which is set when the...
39
by: rembremading | last post by:
Hi all! The following piece of code has (for me) completely unexpected behaviour. (I compile it with gcc-Version 4.0.3) Something goes wrong with the integer to float conversion. Maybe somebody...
9
by: ssubbarayan | last post by:
Hi all, I am trying a program to convert floating point values to a byte array and printing the same to the screen.The idea behind this is we already have an existing function which can do byte...
0
by: raylopez99 | last post by:
I ran afoul of this Compiler error CS1612 recently, when trying to modify a Point, which I had made have a property. It's pointless to do this (initially it will compile, but you'll run into...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.