Re: AW: follow variable - memory value change

Michael Eager <[email protected]> Tue, 24 Jan 2012 11:14:32 -0800
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Watchpoints do exactly what you describe -- they monitor the value(s) of
a variable(s) and stop execution when the value changes.  Have you tried
to set a watchpoint on the variable (or memory location) which you want
to monitor?

On 01/24/2012 08:56 AM, [email protected] wrote:
> Hi,
>
> I’m still experiencing the same problems in my code. Maybe the title “follow variable” is not
> adequate. I’m rather looking for a possibility to control certain values of memory to see when, and
> by which part of the code they are changed?
>
> I have to understand a very large c++ code and I’m not able to understand why some variables change
> in some point of the code…
>
> Is there a solution to my problem?
>
> Thanks very much in advance,
>
> Kind regards,
>
> Sebastian
>
> ----------------------------------------------------------------------------------------------------
>
> *Von:*shaunak saha [mailto:[email protected]]
> *Gesendet:* Freitag, 20. Januar 2012 14:00
> *An:* Liebel, Sebastian
> *Cc:* [email protected]
> *Betreff:* Re: follow variable
>
> Hi Sebastian,
>
> yeah.You can use "watchpoint" to follow a variable.
> Hope this helps.
>
> Regards,
> Shaunak
>
> On Fri, Jan 20, 2012 at 6:01 PM, <[email protected] <mailto:[email protected]>> wrote:
>
> Hi,
>
> I’m new to DDD and I’m trying to understand a very large c++ code, which I’m about to extend.
>
> In the code the value of a variable is somewhere changed, and I don’t have a clue where.
>
> Is there a possibility to follow a variable throughout the code with ddd?
>
> Thanks in advance for your help,
>
> Kind regards,
>
> Sebastian
>
>
> _______________________________________________
> ddd mailing list
> [email protected] <mailto:[email protected]>
> https://lists.gnu.org/mailman/listinfo/ddd
>
>
>
> _______________________________________________
> ddd mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/ddd


-- 
Michael Eager	 [email protected]
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


_______________________________________________
ddd mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/ddd