From: Tassilo Horn <tsdh@gnu.org>
To: John Kliny <emacsuser@mail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How do you inspect variables when debugging with EDebug?
Date: Fri, 01 Apr 2022 08:42:04 +0200 [thread overview]
Message-ID: <874k3dz409.fsf@gnu.org> (raw)
In-Reply-To: <trinity-fd9a3449-c8d5-4f19-b964-4e7c0ec6c36c-1648792786054@3c-app-mailcom-lxa04>
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
next prev parent reply other threads:[~2022-04-01 6:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-01 5:59 How do you inspect variables when debugging with EDebug? John Kliny
2022-04-01 6:42 ` Tassilo Horn [this message]
2022-04-01 7:22 ` John Kliny
2022-04-01 7:25 ` Michael Albinus
2022-04-01 7:40 ` John Kliny
2022-04-01 7:56 ` Michael Albinus
2022-04-01 14:20 ` Stefan Monnier via Users list for the GNU Emacs text editor
-- strict thread matches above, loose matches on Subject: below --
2022-04-01 15:04 John Kliny
2022-04-01 20:17 ` Stefan Monnier via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874k3dz409.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=emacsuser@mail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).