Next: , Previous: Advising Functions, Up: Top


18 Debugging Lisp Programs

There are three ways to investigate a problem in an Emacs Lisp program, depending on what you are doing with the program when the problem appears.

Another useful debugging tool is the dribble file. When a dribble file is open, Emacs copies all keyboard input characters to that file. Afterward, you can examine the file to find out what input was used. See Terminal Input.

For debugging problems in terminal descriptions, the open-termscript function can be useful. See Terminal Output.