Next: , Previous: , Up: Edebug   [Contents][Index]


22.4.9 Evaluation

While within Edebug, you can evaluate expressions “as if” Edebug were not running. Edebug tries to be invisible to the expression’s evaluation and printing. Evaluation of expressions that cause side effects will work as expected except for things that Edebug explicitly saves and restores. See The Outside Context for details on this process. Also see Reading in Edebug and Printing in Edebug for topics related to evaluation.

e exp RET

Evaluate expression exp in the context outside of Edebug (edebug-eval-expression). In other words, Edebug tries to avoid altering the effect of exp.

M-ESC exp RET

Evaluate expression exp in the context of Edebug itself.

C-x C-e

Evaluate the expression before point, in the context outside of Edebug (edebug-eval-last-sexp).

Edebug supports evaluation of expressions containing references to lexically bound symbols created by the following constructs in cl.el (version 2.03 or later): lexical-let, macrolet, and symbol-macrolet.