|
From: | Stefan Monnier |
Subject: | Re: Is there a way to instrument for edebug a form (say, a progn) given to `eval'? |
Date: | Mon, 04 Jan 2016 23:41:57 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> OK, so try C-u C-M-x with this form: > (eval > '(progn > (message "foo") > (message "bar"))) Of course, this is a silly use of `eval' and for more real uses this problem typically doesn't happen. This said, you can try (eval (edebug-\` (progn (message "foo") (message "bar")))) Where edebug-\` is an alias for the normal backquote which tells Edebug that the quoted data is actually dynamically-generated code, so Edebug can try to "do the right thing". Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |