From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: how to debug an emacs hang? Date: 19 May 2004 09:08:50 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040519000346.GC32327@fencepost> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084946894 9603 80.91.224.253 (19 May 2004 06:08:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 06:08:14 +0000 (UTC) Cc: john_owens@yahoo.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 19 08:08:09 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQKFM-0006dy-00 for ; Wed, 19 May 2004 08:08:08 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQKFE-0007XA-00 for ; Wed, 19 May 2004 08:08:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQKEl-0001Qe-Np for emacs-devel@quimby.gnus.org; Wed, 19 May 2004 02:07:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQKEe-0001OD-3I for emacs-devel@gnu.org; Wed, 19 May 2004 02:07:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQKE6-0000yz-Fe for emacs-devel@gnu.org; Wed, 19 May 2004 02:07:22 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.34) id 1BQKE5-0000nP-EL; Wed, 19 May 2004 02:06:49 -0400 Original-To: Miles Bader In-reply-to: <20040519000346.GC32327@fencepost> (message from Miles Bader on Tue, 18 May 2004 20:03:46 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23686 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23686 > Date: Tue, 18 May 2004 20:03:46 -0400 > From: Miles Bader > > On Tue, May 18, 2004 at 04:38:08PM -0700, John Owens wrote: > > I'd like to figure out how/where it's hanging, but I don't know how I > > might do so. Suggestions? > > Run emacs in gdb, preferably from the src directory where you compiled emacs: > > $ cd ~/emacs-build/src > $ gdb ./emacs > > [There's a special .gdbinit file in that directory that defines handy emacs > debugging commands.] The OP runs the Windows port, so this advice will probably not help. (John, is that an MSVC build or a MinGW build? "M-x emacs-version RET" should tell you.) The file etc/DEBUG has near its end some hints about debugging Emacs on MS-Windows; I suggest that John reads that. The text there doesn't say how to interrupt Emacs (the equivalent of C-z on Posix platforms), so perhaps someone here who knows how to do that could help you.