▲ | spit2wind 2 days ago | |
> (until you're trying to debug some slightly annoying behavior or crufty event loop thing ;) What do you mean by this? One can look at Emacs itself as a crusty event loop with some slightly annoying behavior. But seriously, I am curious what you mean. You may already know (and others may not): - `M-x toggle-debug-on-error` throws you into the debugger on any error (note this isn't "visual" the edebugger!). Use C-h m to see the navigation commands/keys - Use (debug) to set a breakpoint in Lisp code - depending on the circumstances, the edebugger may be more helpful. I always instrument the function to debug with `C-u C-M-x` from within the function's form and use `C-M-x` to interpret it (sorry, I forget the underlying commands) Of course, there's great documentation for both the debugger and edebugger. |