summaryrefslogtreecommitdiff
path: root/doc/lispref/edebug.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-20 23:16:04 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-20 23:46:50 +0200
commit78cb3791fa11c95756ee3917c63cfea774f128a2 (patch)
tree033aa6db106544a772e158046bd95adf34594180 /doc/lispref/edebug.texi
parentb6bf5327908d310fabf7012af6790c7abc2114f4 (diff)
downloademacs-78cb3791fa11c95756ee3917c63cfea774f128a2.tar.gz
emacs-78cb3791fa11c95756ee3917c63cfea774f128a2.tar.bz2
emacs-78cb3791fa11c95756ee3917c63cfea774f128a2.zip
Add a command to toggle an edebug breakpoint
* doc/lispref/edebug.texi (Breakpoints): Document this. * lisp/emacs-lisp/edebug.el (edebug-disabled-breakpoint): New face (bug#23472). (edebug-enabled-breakpoint): Rename. (edebug--overlay-breakpoints): Use the new face. (edebug-toggle-disable-breakpoint): New command and keystroke.
Diffstat (limited to 'doc/lispref/edebug.texi')
-rw-r--r--doc/lispref/edebug.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi
index 03efa985ba9..43665ea9ecd 100644
--- a/doc/lispref/edebug.texi
+++ b/doc/lispref/edebug.texi
@@ -497,8 +497,8 @@ Edebug commands for breakpoints:
Set a breakpoint at the stop point at or after point
(@code{edebug-set-breakpoint}). If you use a prefix argument, the
breakpoint is temporary---it turns off the first time it stops the
-program. An overlay with the @code{edebug-breakpoint} face is put at
-the breakpoint.
+program. An overlay with the @code{edebug-enabled-breakpoint} or
+@code{edebug-disabled-breakpoint} faces is put at the breakpoint.
@item u
Unset the breakpoint (if any) at the stop point at or after
@@ -508,6 +508,12 @@ point (@code{edebug-unset-breakpoint}).
Unset any breakpoints in the current form
(@code{edebug-unset-breakpoints}).
+@item D
+Toggle whether to disable the breakpoint near point
+(@code{edebug-toggle-disable-breakpoint}). This command is mostly
+useful if the breakpoint is conditional and it would take some work to
+recreate the condition.
+
@item x @var{condition} @key{RET}
Set a conditional breakpoint which stops the program only if
evaluating @var{condition} produces a non-@code{nil} value