From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.devel Subject: Re: Feature request: debug-quit Date: Mon, 12 Nov 2012 13:05:38 -0500 Message-ID: References: <87r4o98fkh.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352767262 4998 80.91.229.3 (13 Nov 2012 00:41:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 00:41:02 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 13 01:41:12 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TY4Yy-0006mq-El for ged-emacs-devel@m.gmane.org; Tue, 13 Nov 2012 01:41:12 +0100 Original-Received: from localhost ([::1]:45549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY4Yo-00033i-VJ for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2012 19:41:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY4Yk-00031w-Pz for emacs-devel@gnu.org; Mon, 12 Nov 2012 19:41:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TY4Yh-0001kf-OD for emacs-devel@gnu.org; Mon, 12 Nov 2012 19:40:58 -0500 Original-Received: from mail-qa0-f41.google.com ([209.85.216.41]:36611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY4Yh-0001kO-JK for emacs-devel@gnu.org; Mon, 12 Nov 2012 19:40:55 -0500 Original-Received: by mail-qa0-f41.google.com with SMTP id c26so42348qad.0 for ; Mon, 12 Nov 2012 16:40:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:x-gm-message-state; bh=c/rtbFLmHfOytT+EDrkee8q0JnysfBURBB0WXGR5kAU=; b=Hnyct3yQMIx81U1ECiWaKI3xUZBmj2xW/z5d39q7BzYNIzpGLDVHqKH1ygzbsNMLIb 8NvZdhxED8M8GqIGZ71KZcUn0VNFIuHmEa62B0zHkHJUTEUHK4/xl6VLntPa7ZuBB6aj KxlEmDxy7z6uQVhkU/f8uGDbHQ6RA/CCaRmECfvqaZwm25+5EjEm4EadZy9HJW3Ck4pv SKBNNUM9ZENaRQkXcM+qmCZRvN8Qt+wtxIIDH94z0e/pshrtzPMAufigci6QrTmHSKI9 F7glSayMH5bNDk2TgkTG2Pqj/mUB0MwVIY3DvL/oN03C/qYgSYTm4PWKDaCrclUECcLK JB8w== Original-Received: by 10.229.234.142 with SMTP id kc14mr5364983qcb.122.1352767255105; Mon, 12 Nov 2012 16:40:55 -0800 (PST) Original-Received: from pluto.boostpro.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id f3sm1155030qaj.7.2012.11.12.16.40.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2012 16:40:54 -0800 (PST) Original-Received: by pluto.boostpro.com (Postfix, from userid 501) id 3B91239EE33; Mon, 12 Nov 2012 13:05:38 -0500 (EST) In-Reply-To: <87r4o98fkh.fsf@bzg.ath.cx> (Bastien's message of "Sun, 04 Nov 2012 18:04:46 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin) X-Gm-Message-State: ALoCoQmx3T/46+KwkYZr3ppWTHoYFu6oWTC3R5nNNkgPahoTe1hktOptS3AMP/yWdTChEyCBnJQ/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.216.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154841 Archived-At: on Sun Nov 04 2012, Bastien wrote: > Hi Dave, > > Dave Abrahams writes: > >> on Sun Nov 04 2012, Stefan Monnier 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