aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-20 23:16:04 +0200
committerLars Ingebrigtsen2019-10-20 23:46:50 +0200
commit78cb3791fa11c95756ee3917c63cfea774f128a2 (patch)
tree033aa6db106544a772e158046bd95adf34594180 /doc
parentb6bf5327908d310fabf7012af6790c7abc2114f4 (diff)
downloademacs-78cb3791fa11c95756ee3917c63cfea774f128a2.tar.gz
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')
-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:
497Set a breakpoint at the stop point at or after point 497Set a breakpoint at the stop point at or after point
498(@code{edebug-set-breakpoint}). If you use a prefix argument, the 498(@code{edebug-set-breakpoint}). If you use a prefix argument, the
499breakpoint is temporary---it turns off the first time it stops the 499breakpoint is temporary---it turns off the first time it stops the
500program. An overlay with the @code{edebug-breakpoint} face is put at 500program. An overlay with the @code{edebug-enabled-breakpoint} or
501the breakpoint. 501@code{edebug-disabled-breakpoint} faces is put at the breakpoint.
502 502
503@item u 503@item u
504Unset the breakpoint (if any) at the stop point at or after 504Unset the breakpoint (if any) at the stop point at or after
@@ -508,6 +508,12 @@ point (@code{edebug-unset-breakpoint}).
508Unset any breakpoints in the current form 508Unset any breakpoints in the current form
509(@code{edebug-unset-breakpoints}). 509(@code{edebug-unset-breakpoints}).
510 510
511@item D
512Toggle whether to disable the breakpoint near point
513(@code{edebug-toggle-disable-breakpoint}). This command is mostly
514useful if the breakpoint is conditional and it would take some work to
515recreate the condition.
516
511@item x @var{condition} @key{RET} 517@item x @var{condition} @key{RET}
512Set a conditional breakpoint which stops the program only if 518Set a conditional breakpoint which stops the program only if
513evaluating @var{condition} produces a non-@code{nil} value 519evaluating @var{condition} produces a non-@code{nil} value