[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: debug-quit
From: |
Bastien |
Subject: |
Re: Feature request: debug-quit |
Date: |
Sun, 04 Nov 2012 18:04:46 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) |
Hi Dave,
Dave Abrahams <address@hidden> writes:
> on Sun Nov 04 2012, Stefan Monnier <monnier-AT-IRO.UMontreal.CA> wrote:
>
>>> When Emacs gets hung, and I didn't know it was going to hang, so I
>>> didn't turn on debug-on-quit, it would be great to have a keystroke that
>>> would drop me straight into the debugger. As it is, these things can be
>>> almost impossible to diagnose.
>>
>> One possibility is to use `debug-on-event'.
>> It's not a keystroke, tho.
>
> M-x apropos doesn't know what `debug-on-event' is, and neither do I
This is what I have:
,----[ C-h v debug-on-event RET ]
| Enter debugger on this event. When Emacs
| receives the special event specified by this variable, it will try to
| break into the debugger as soon as possible instead of processing the
| event normally through `special-event-map'.
|
| Currently, the only supported values for this
| variable are `sigusr1' and `sigusr2'.
`----
What version of Emacs are you using?
--
Bastien