[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: watching for variable assignment
From: |
Michael Heerdegen |
Subject: |
Re: watching for variable assignment |
Date: |
Mon, 10 Mar 2014 20:56:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> > You are looking for a "Write Breakpoint". I haven't done much Elisp
> > debugging. Going by the docs, the following looks promising.
> >
> > (info "(elisp) Global Break Condition")
>
> No, this isn't going to work -- the only way I could find the code
> that's resetting the variable would be to instrument it directly, which
> would require knowing which code it was in the first place.
No, not necessarily. You can set `edebug-all-defs' non-nil and
instrument whole libraries. That may make things much
slower, but may be worth a try.
Michael.
Re: watching for variable assignment, Eric Abrahamsen, 2014/03/10
Re: watching for variable assignment,
Michael Heerdegen <=