diff options
| author | Glenn Morris | 2012-02-04 13:58:00 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-04 13:58:00 -0800 |
| commit | 7aa5aad87e3fcf57cfa5bacc38630048b9fc0295 (patch) | |
| tree | 7f405589767d7b1052c35743cbe310a357e0ce20 /doc/lispref/debugging.texi | |
| parent | 1f5e1a1648da9f0e88926711dcede5cbd6330f7e (diff) | |
| download | emacs-7aa5aad87e3fcf57cfa5bacc38630048b9fc0295.tar.gz emacs-7aa5aad87e3fcf57cfa5bacc38630048b9fc0295.zip | |
Document debug-on-event
* doc/lispref/debugging.texi (Error Debugging): Mention debug-on-event.
* doc/lispref/commands.texi (Misc Events): Mention sigusr1,2 and debugging.
* etc/NEWS: Related edit.
Diffstat (limited to 'doc/lispref/debugging.texi')
| -rw-r--r-- | doc/lispref/debugging.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 9466f21a563..a17fc60718b 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -148,6 +148,15 @@ enter the debugger. | |||
| 148 | @code{debug-on-error} is @code{nil}. | 148 | @code{debug-on-error} is @code{nil}. |
| 149 | @end defopt | 149 | @end defopt |
| 150 | 150 | ||
| 151 | @defopt debug-on-event | ||
| 152 | 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 | ||
| 154 | this event, bypassing @code{special-event-map}. At present, the only | ||
| 155 | supported values correspond to the signals @code{SIGUSR1} and | ||
| 156 | @code{SIGUSR2}. This can be helpful when @code{inhibit-quit} is set | ||
| 157 | and Emacs is not otherwise responding. | ||
| 158 | @end defopt | ||
| 159 | |||
| 151 | To debug an error that happens during loading of the init | 160 | To debug an error that happens during loading of the init |
| 152 | file, use the option @samp{--debug-init}. This binds | 161 | file, use the option @samp{--debug-init}. This binds |
| 153 | @code{debug-on-error} to @code{t} while loading the init file, and | 162 | @code{debug-on-error} to @code{t} while loading the init file, and |