all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Dave Abrahams <dave@boostpro.com>
Cc: Stefan Monnier <monnier@IRO.UMontreal.CA>, emacs-devel@gnu.org
Subject: Re: Feature request: debug-quit
Date: Sun, 04 Nov 2012 18:04:46 +0100	[thread overview]
Message-ID: <87r4o98fkh.fsf@bzg.ath.cx> (raw)
In-Reply-To: <m2fw4pb9qm.fsf@pluto.luannocracy.com> (Dave Abrahams's message of "Sun, 04 Nov 2012 11:42:25 -0500")

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



  reply	other threads:[~2012-11-04 17:04 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 [this message]
2012-11-12 18:05       ` Dave Abrahams

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

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

  git send-email \
    --in-reply-to=87r4o98fkh.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=dave@boostpro.com \
    --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 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.