Previous: , Up: Edebug   [Index]


K.3.12 Trace Buffer

https://www.gnu.org/software/emacs/manual/html_node/elisp/Trace-Buffer.html#Trace-Buffer

Edebug can record an execution trace, storing it in a buffer named ‘*edebug-trace*’. This is a log of function calls and returns, showing the function names and their arguments and values.

edebug-trace

To enable trace recording, set edebug-trace to a non-nil value.

Making a trace buffer is not the same thing as using ‘trace execution mode’ (see Edebug Execution Modes).

Trace Recording

When trace recording is enabled, each function entry and exit adds lines to the trace buffer. A function entry record consists of ‘::::{’, followed by the function name and argument values. A function exit record consists of ‘::::}’, followed by the function name and result of the function. The number of ‘:’’s in an entry shows its recursion depth.