diff options
| author | Lars Ingebrigtsen | 2019-10-20 23:16:04 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-20 23:46:50 +0200 |
| commit | 78cb3791fa11c95756ee3917c63cfea774f128a2 (patch) | |
| tree | 033aa6db106544a772e158046bd95adf34594180 /etc | |
| parent | b6bf5327908d310fabf7012af6790c7abc2114f4 (diff) | |
| download | emacs-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 'etc')
| -rw-r--r-- | etc/NEWS | 14 |
1 files changed, 11 insertions, 3 deletions
| @@ -1462,9 +1462,17 @@ the Elisp manual for documentation of the new mode and its commands. | |||
| 1462 | 1462 | ||
| 1463 | ** Edebug | 1463 | ** Edebug |
| 1464 | 1464 | ||
| 1465 | *** New face 'edebug-breakpoint' | 1465 | +++ |
| 1466 | When setting breakpoints in Edebug, an overlay with this face is | 1466 | *** New faces 'edebug-enabled-breakpoint' and 'edebug-disabled-breakpoint' |
| 1467 | placed over the point in question. | 1467 | When setting breakpoints in Edebug, an overlay with these faces are |
| 1468 | placed over the point in question, depending on whether they are | ||
| 1469 | enabled or not. | ||
| 1470 | |||
| 1471 | +++ | ||
| 1472 | *** New command 'edebug-toggle-disable-breakpoint' | ||
| 1473 | This command allows you to disable a breakpoint temporarily. This is | ||
| 1474 | mainly useful with breakpoints that are conditional and would take | ||
| 1475 | some time to recreate. | ||
| 1468 | 1476 | ||
| 1469 | +++ | 1477 | +++ |
| 1470 | *** New command 'edebug-unset-breakpoints' | 1478 | *** New command 'edebug-unset-breakpoints' |