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

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

Re: Is there a way to instrument for edebug a form (say, a progn) given


From: Michael Heerdegen
Subject: Re: Is there a way to instrument for edebug a form (say, a progn) given to `eval'?
Date: Tue, 05 Jan 2016 00:26:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Marcin Borkowski <address@hidden> writes:

> (eval
>  '(progn
>     (message "foo")
>     (message "bar")))
>
> and see how Edebug doesn't step into the progn.

That's expected, the argument to eval can be anything, in particular,
something that is not written down in some buffer.  In the above case,
you call eval on a constant, and edebug can't know where this constant
comes from.

Paste the progn form somewhere and hit C-u C-M-x if you want to use
edebug.


Michael.



reply via email to

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