Next: , Previous: Debugger, Up: Applications

3.3 Interactive Sessions

Interactive sessions are an Erlang version of the Emacs Lisp *scratch* buffer. You can enter arbitrary Erlang expressions and function definitions in an interactive session buffer and evaluate them immediately, without creating any files.

C-c C-d e
Display the Interactive Session buffer for an Erlang node, creating it if necessary. (erl-ie-show-session)

Within the session buffer, these commands are available:

Evaluate the Erlang expression on the current line, and insert the result in-line. (erl-ie-eval-expression)
Evaluate the function definition before the point. Once defined, the function can then be called from expressions in the session buffer, and can be redefined later.