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

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

RE: running my elisp step by step ?


From: Drew Adams
Subject: RE: running my elisp step by step ?
Date: Fri, 7 Dec 2018 06:21:12 -0800 (PST)

> Is there a way to run my elisp step by step and to see how all the
> variables are changing as I step through the code ?

`M-x debug-on-entry SOME-FUNCTION'

Or insert calls to `debug' anywhere in source code,
to enter the code there.  This is helpful, for
example, to debug what happens in an `interactive'
spec (since `debug-on-entry' kicks in only after
the `interactive' spec has done its thing).

See (elisp) `Invoking the Debugger':

https://www.gnu.org/software/emacs/manual/html_node/elisp/Invoking-the-Debugger.html



reply via email to

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