Answers:
来自(info "(elisp) Instrumenting")
:
To remove instrumentation from a definition, simply re-evaluate its
definition in a way that does not instrument. There are two ways of
evaluating forms that never instrument them: from a file with `load',
and from the minibuffer with `eval-expression' (`M-:').
IOW,最简单的方法是C-M-x
不带前缀参数(如果已edebug-all-defs
设置,则带前缀参数)。
M-x report-emacs-bug
通过说出在寻找答案时实际尝试的内容来报告错误(),则可以改进文档。
换句话说,当调用特定功能时,如何取消导致edebug进入调试模式的指令?
通过设置edebug-initial-mode
为,可以在不删除检测的情况下获得此效果go
。这样,只有设置了断点,您才会在edebug中停止。从Emacs 25.1开始,您可以使用以下命令快速完成此操作edebug-set-initial-mode
:C-x C-a C-m g
(info "(elisp) Edebug Execution Modes")
‘g’ Go: run until the next breakpoint (‘edebug-go-mode’). *Note Breakpoints::.
[...]
When you enter a new Edebug level, the initial execution mode comes from the value of the variable ‘edebug-initial-mode’ (*note Edebug Options::). By default, this specifies step mode.
[...]
Command: edebug-set-initial-mode This command, bound to C-x C-a C-m, sets edebug-initial-mode. It prompts you for a key to indicate the mode. You should enter one of the eight keys listed above, which sets the corresponding mode.