[Top][All Lists]

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

Re: Debugging functions with lexical-binding

From: Stefan Monnier
Subject: Re: Debugging functions with lexical-binding
Date: Tue, 31 May 2011 12:25:11 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> What are the commands to inspect local variables of lexical functions?
>> M-x esp RET
> That's too cryptic for me.  What do you mean?

ESP = Extra Sensorial Perception, also known as psychic, mind-reader, ...
I.e. it was just a bad joke.

>>> Pressing C-M-c reduces one level of recursive edit but puts the
>>> *Backtrace* buffer in fundamental-mode which is IMO also wrong.]
>> Yup, the *Backtrace* buffer's content and major-mode are not properly
>> saved&restored upon entry to and exit from the debugger.  Patch welcome,
> Below is a simple patch.  It only restores the content but not buffer
> local variables.

Thanks.  I've installed it into trunk.  I've also added an additional
patch to save&restore the major mode.


reply via email to

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