emacs.rst
changeset 19 2230f25e0375
parent 18 e35491992b62
child 20 ccbb0c9257bb
equal deleted inserted replaced
18:e35491992b62 19:2230f25e0375
    22   evaluates it.
    22   evaluates it.
    23 
    23 
    24   * Try the CommandLine? switch --debug-init.
    24   * Try the CommandLine? switch --debug-init.
    25 
    25 
    26   * Shouldn’t (setq debug-on-error t) help?
    26   * Shouldn’t (setq debug-on-error t) help?
       
    27 
       
    28 * Using edebug.
       
    29 
       
    30 The main entry point is ‘M-x edebug-defun’ (also on ‘C-u C-M-x’). Use it
       
    31 instead of `C-x C-e’ or ‘C-M-x’ to evaluate a ‘defun’ and instrument it for
       
    32 debugging.
       
    33 
       
    34 You can disable edebug on a function by evaluating the function again using
       
    35 ‘C-M-x’.