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

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

Re: Making ielm behave like a shell (getting to previous commands using


From: Michael Heerdegen
Subject: Re: Making ielm behave like a shell (getting to previous commands using the up-arrow key)
Date: Sat, 19 Dec 2020 02:55:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> Do you then do SPC and C-x C-e to evaluate or get values debugged step
> by step?

For Edebug:

SPC, yes, and that prints the values of the currently evaluated
expression to the echo area all the time (including variable bindings),
no need for extra evaluations all the time.

Generally, if you want to evaluate something in the context of the
debugged code, for whatever reason, situational: `e' to get a prompt for
an expression to eval, C-x C-e to evaluate parts of the code.

For the built-in debugger, the answer is more or less the same, the key
bindings are different though.

I encourage to learn about both Elisp debuggers, they shine in different
situations, both are great tools.  For the built-in debugger note that
you still may need to evaluate the sources of the debugged code so that
you don't debug byte-code (which is possible but painful).


Michael.




reply via email to

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