ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: follow variable - memory value change


From: Michael Eager
Subject: Re: AW: follow variable - memory value change
Date: Tue, 24 Jan 2012 11:14:32 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

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, address@hidden 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:address@hidden
*Gesendet:* Freitag, 20. Januar 2012 14:00
*An:* Liebel, Sebastian
*Cc:* address@hidden
*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, <address@hidden <mailto:address@hidden>> 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
address@hidden <mailto:address@hidden>
https://lists.gnu.org/mailman/listinfo/ddd



_______________________________________________
ddd mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/ddd


--
Michael Eager    address@hidden
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077




reply via email to

[Prev in Thread] Current Thread [Next in Thread]