diff options
| author | Glenn Morris | 2012-02-04 19:37:19 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-04 19:37:19 -0800 |
| commit | 649f602cd69fb97e9572f526043e288ab9f34024 (patch) | |
| tree | d8ddf0a8112b9ea18d5ff60a2916d5d33019031f | |
| parent | 27f7ef2f0a9f4f8d50c7102c659b198e4d3351f6 (diff) | |
| download | emacs-649f602cd69fb97e9572f526043e288ab9f34024.tar.gz emacs-649f602cd69fb97e9572f526043e288ab9f34024.zip | |
More doc for debug-on-event.
* emacs/trouble.texi (Checklist): Mention debug-on-event.
* lispref/debugging.texi (Error Debugging): Mention debug-on-event default.
| -rw-r--r-- | doc/emacs/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/debugging.texi | 4 |
4 files changed, 14 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 6ff188a3da0..ab4161c75b8 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2012-02-05 Glenn Morris <rgm@gnu.org> | 1 | 2012-02-05 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * trouble.texi (Checklist): Mention debug-on-event. | ||
| 4 | |||
| 3 | * maintaining.texi (Maintaining): Add cross-ref to ERT. | 5 | * maintaining.texi (Maintaining): Add cross-ref to ERT. |
| 4 | 6 | ||
| 5 | 2012-02-04 Glenn Morris <rgm@gnu.org> | 7 | 2012-02-04 Glenn Morris <rgm@gnu.org> |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 8cb5ab44a2e..6c6dbea9525 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -784,6 +784,12 @@ non-@code{nil} will start the Lisp debugger and show a backtrace. | |||
| 784 | This backtrace is useful for debugging such long loops, so if you can | 784 | This backtrace is useful for debugging such long loops, so if you can |
| 785 | produce it, copy it into the bug report. | 785 | produce it, copy it into the bug report. |
| 786 | 786 | ||
| 787 | @vindex debug-on-event | ||
| 788 | If you cannot get Emacs to respond to @kbd{C-g} (e.g., because | ||
| 789 | @code{inhibit-quit} is set), then you can try sending the signal | ||
| 790 | specified by @code{debug-on-event} (default SIGUSR2) from outside | ||
| 791 | Emacs to cause it to enter the debugger. | ||
| 792 | |||
| 787 | @item | 793 | @item |
| 788 | Check whether any programs you have loaded into the Lisp world, | 794 | Check whether any programs you have loaded into the Lisp world, |
| 789 | including your initialization file, set any variables that may affect | 795 | including your initialization file, set any variables that may affect |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 681b9b54678..65740feeee5 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-02-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * debugging.texi (Error Debugging): Mention debug-on-event default. | ||
| 4 | |||
| 1 | 2012-02-04 Glenn Morris <rgm@gnu.org> | 5 | 2012-02-04 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * backups.texi (Reverting): Mention revert-buffer-in-progress-p. | 7 | * backups.texi (Reverting): Mention revert-buffer-in-progress-p. |
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index a17fc60718b..cc92fc225f9 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -153,8 +153,8 @@ If you set @code{debug-on-event} to a special event (@pxref{Special | |||
| 153 | Events}), Emacs will try to enter the debugger as soon as it receives | 153 | Events}), Emacs will try to enter the debugger as soon as it receives |
| 154 | this event, bypassing @code{special-event-map}. At present, the only | 154 | this event, bypassing @code{special-event-map}. At present, the only |
| 155 | supported values correspond to the signals @code{SIGUSR1} and | 155 | supported values correspond to the signals @code{SIGUSR1} and |
| 156 | @code{SIGUSR2}. This can be helpful when @code{inhibit-quit} is set | 156 | @code{SIGUSR2} (this is the default). This can be helpful when |
| 157 | and Emacs is not otherwise responding. | 157 | @code{inhibit-quit} is set and Emacs is not otherwise responding. |
| 158 | @end defopt | 158 | @end defopt |
| 159 | 159 | ||
| 160 | To debug an error that happens during loading of the init | 160 | To debug an error that happens during loading of the init |