unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: Bastien <bzg@gnu.org>
Cc: Stefan Monnier <monnier@IRO.UMontreal.CA>, emacs-devel@gnu.org
Subject: Re: Feature request: debug-quit
Date: Mon, 12 Nov 2012 13:05:38 -0500	[thread overview]
Message-ID: <m2vcdalmrx.fsf@pluto.luannocracy.com> (raw)
In-Reply-To: <87r4o98fkh.fsf@bzg.ath.cx> (Bastien's message of "Sun, 04 Nov 2012 18:04:46 +0100")


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



      reply	other threads:[~2012-11-12 18:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vcdalmrx.fsf@pluto.luannocracy.com \
    --to=dave@boostpro.com \
    --cc=bzg@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).