[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AW: follow variable - memory value change
From: |
J.J.Garcia |
Subject: |
Re: AW: follow variable - memory value change |
Date: |
Tue, 24 Jan 2012 20:40:41 +0100 |
Hi
Again...
--> Watchpoint/trigger( + bt (stack)
Nice tuts in
http://sourceware.org/gdb/onlinedocs/gdb/Set-Watchpoints.html
http://beej.us/guide/bggdb/
http://www.unknownroad.com/rtfm/gdbtut/gdbwatch.html
Hope that helps
Cheers
JJ
El mar, 24-01-2012 a las 16:56 +0000, address@hidden escribió:
> 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> 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
> https://lists.gnu.org/mailman/listinfo/ddd
>
>
>
>
>
> _______________________________________________
> ddd mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/ddd