Next: Read and Print, Previous: Byte Compilation, Up: Top [Contents][Index]
There are several ways to find and investigate problems in an Emacs Lisp program.
trace-function-foreground
and
trace-function-background
for tracing function calls, and
trace-values
for adding values of select variables to the
trace. For the details, see the documentation of these facilities in
trace.el.
Other useful tools for debugging input and output problems are the
dribble file (see Terminal Input) and the open-termscript
function (see Terminal Output).
• Debugger: | A debugger for the Emacs Lisp evaluator. | |
• Edebug: | A source-level Emacs Lisp debugger. | |
• Syntax Errors: | How to find syntax errors. | |
• Test Coverage: | Ensuring you have tested all branches in your code. | |
• Profiling: | Measuring the resources that your code uses. |
Next: Read and Print, Previous: Byte Compilation, Up: Top [Contents][Index]