equal
deleted
inserted
replaced
1 -*- mode: outline -*- |
1 -*- mode: outline -*- |
2 |
2 |
3 * How debug? |
3 * How debug ini file? |
4 |
4 |
5 When your InitFile has a bug, or when you load external files that cause |
5 When your InitFile has a bug, or when you load external files that cause |
6 errors, the bug is often hard to find, because the Emacs Lisp reader does not |
6 errors, the bug is often hard to find, because the Emacs Lisp reader does not |
7 know about line numbers and files – it just knows an error happened, and |
7 know about line numbers and files – it just knows an error happened, and |
8 that’s it. |
8 that’s it. |
33 instead of `C-x C-e’ or ‘C-M-x’ to evaluate a ‘defun’ and instrument it for |
33 instead of `C-x C-e’ or ‘C-M-x’ to evaluate a ‘defun’ and instrument it for |
34 debugging. |
34 debugging. |
35 |
35 |
36 You can disable edebug on a function by evaluating the function again using |
36 You can disable edebug on a function by evaluating the function again using |
37 ‘C-M-x’. |
37 ‘C-M-x’. |
|
38 |
|
39 * How debug func? |
|
40 |
|
41 Use M-x debug-on-entry and M-x cancel-debug-on-entry to control |
|
42 which functions will enter the debugger when called. |
|
43 |
|
44 When next time that function called automatically loaded debug-mode. |