equal
deleted
inserted
replaced
4 |
4 |
5 ** Using edebug. |
5 ** Using edebug. |
6 |
6 |
7 Execute 'M-x edebug-defun' (also on 'C-u C-M-x') on defun in source code to |
7 Execute 'M-x edebug-defun' (also on 'C-u C-M-x') on defun in source code to |
8 enable debugging for desired function. When next time this function invoked |
8 enable debugging for desired function. When next time this function invoked |
9 you entered to its debugging (jamped to its source code). |
9 you entered to its debugging (jumped to its source code). |
10 |
10 |
11 To start debug execute code which used debugged function. |
11 To start debug execute code which used debugged function. |
12 |
12 |
13 You can disable edebug on a function by evaluating the function again using |
13 You can disable edebug on a function by evaluating the function again using |
14 'C-M-x'. |
14 'C-M-x'. |
20 |
20 |
21 When next time that function called automatically loaded debug-mode. |
21 When next time that function called automatically loaded debug-mode. |
22 |
22 |
23 ** How debug ini file? |
23 ** How debug ini file? |
24 |
24 |
25 When your InitFile has a bug, or when you load external files that cause |
25 When your ini has a bug, or when you load external files that cause |
26 errors, the bug is often hard to find, because the Emacs Lisp reader does not |
26 errors, the bug is often hard to find, because the Emacs Lisp reader does not |
27 know about line numbers and files - it just knows an error happened, and |
27 know about line numbers and files - it just knows an error happened, and |
28 that's it. |
28 that's it. |
29 |
29 |
30 *** Binary Search. |
30 *** Binary Search. |