[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: debug-quit
From: |
Dave Abrahams |
Subject: |
Re: Feature request: debug-quit |
Date: |
Mon, 12 Nov 2012 13:05:38 -0500 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin) |
on Sun Nov 04 2012, Bastien <bzg-AT-gnu.org> wrote:
> 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?
24.2.2, and that variable is now known to my Emacs, thanks.
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost