* Feature request: debug-quit
@ 2012-11-04 12:35 Dave Abrahams
2012-11-04 14:11 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Dave Abrahams @ 2012-11-04 12:35 UTC (permalink / raw)
To: emacs-devel
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.
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Feature request: debug-quit
2012-11-04 12:35 Feature request: debug-quit Dave Abrahams
@ 2012-11-04 14:11 ` Stefan Monnier
2012-11-04 16:42 ` Dave Abrahams
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2012-11-04 14:11 UTC (permalink / raw)
To: Dave Abrahams; +Cc: emacs-devel
> 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.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Feature request: debug-quit
2012-11-04 14:11 ` Stefan Monnier
@ 2012-11-04 16:42 ` Dave Abrahams
2012-11-04 17:04 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Dave Abrahams @ 2012-11-04 16:42 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
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
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Feature request: debug-quit
2012-11-04 16:42 ` Dave Abrahams
@ 2012-11-04 17:04 ` Bastien
2012-11-12 18:05 ` Dave Abrahams
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2012-11-04 17:04 UTC (permalink / raw)
To: Dave Abrahams; +Cc: Stefan Monnier, emacs-devel
Hi Dave,
Dave Abrahams <dave@boostpro.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Feature request: debug-quit
2012-11-04 17:04 ` Bastien
@ 2012-11-12 18:05 ` Dave Abrahams
0 siblings, 0 replies; 5+ messages in thread
From: Dave Abrahams @ 2012-11-12 18:05 UTC (permalink / raw)
To: Bastien; +Cc: Stefan Monnier, emacs-devel
on Sun Nov 04 2012, Bastien <bzg-AT-gnu.org> wrote:
> Hi Dave,
>
> Dave Abrahams <dave@boostpro.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-12 18:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04 12:35 Feature request: debug-quit Dave Abrahams
2012-11-04 14:11 ` Stefan Monnier
2012-11-04 16:42 ` Dave Abrahams
2012-11-04 17:04 ` Bastien
2012-11-12 18:05 ` Dave Abrahams
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.