help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How do you inspect variables when debugging with EDebug?


From: Tassilo Horn
Subject: Re: How do you inspect variables when debugging with EDebug?
Date: Fri, 01 Apr 2022 08:42:04 +0200
User-agent: mu4e 1.7.12; emacs 29.0.50

John Kliny <emacsuser@mail.com> writes:

>    In the past C-h v worked for this, but apparently by moving to
>    lexical-binding C-h v cannot pick up let variables at point
>    anymore, it says variable is not bound.
>
>    You can type 'e' and type the variable name, but that is not
>    convenient at all.
>
>    Is there a way like before with C-h v, so you can just put cursor
>    on a variable during debugging, press a command and it shows the
>    value?
>
>    How do you check let-bound variables when debugging with EDebug?

I look at the printed value when stepping over the variable or use `e'.
The evaluation list buffer (`E`) is also there.

But I agree that's not very convenient when you have to type the name of
the local all the time.  I'd rather prefer if I had a separate window
showing the current values of all locals (maybe with the option to add
some globals there, too [other debuggers call those watches]), or some
tooltips or overlays showing the current values of locals.

Maybe one could come up with some eldoc function which would pass the
symbol under point to `e' automatically...

Bye,
Tassilo



reply via email to

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