[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to debug modification to a variable value?
From: |
Tassilo Horn |
Subject: |
Re: How to debug modification to a variable value? |
Date: |
Tue, 26 Jan 2010 21:26:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
"alin.s" <address@hidden> writes:
> I suggest you to use the WATCH in gdb for modifications of the
> variable, AWATCH for reading of the variable, etc.
>
> To detect the location of the variable is easy: install a breakpoint
> in make-variable-buffer-local that stops when exactly the variable you
> are interested about is set, then see there the location of
> tg-schema-alist. Afterward you can use the x* functions from .gdbinit
> of emacs to debug your problem...
Thanks for that explanation. I'll try that out as soon as I find some
time. And also thanks for volunteering on implementing a debug facility
for cases like that.
Bye,
Tassilo
- Re: How to debug modification to a variable value?, (continued)
Re: How to debug modification to a variable value?, Davis Herring, 2010/01/25
Re: How to debug modification to a variable value?, alin.s, 2010/01/26
- Re: How to debug modification to a variable value?,
Tassilo Horn <=