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,
Sebastian.Liebel@dlr.... 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:
reach2shaunak02@gmai...]
> *Gesendet:* Freitag, 20. Januar 2012 14:00
> *An:* Liebel, Sebastian
> *Cc:*
ddd@gnu....> *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, <
Sebastian.Liebel@dlr.... <mailto:
Sebastian.Liebel@dlr....>> 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
>
ddd@gnu.... <mailto:
ddd@gnu....>
>
https://lists.gnu.org/mailman/listinfo/ddd>
>
>
> _______________________________________________
> ddd mailing list
>
ddd@gnu....>
https://lists.gnu.org/mailman/listinfo/ddd--
Michael Eager
eager@eage...1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
_______________________________________________
ddd mailing list
ddd@gnu....https://lists.gnu.org/mailman/listinfo/ddd
opensubscriber is not affiliated with the authors of this message nor responsible for its content.