From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to debug hang? Date: Sat, 18 Nov 2006 12:37:47 +0200 Message-ID: References: <87irhdcvt8.fsf@pereiro.luannocracy.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1163846300 21540 80.91.229.2 (18 Nov 2006 10:38:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Nov 2006 10:38:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 18 11:38:17 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GlNaO-0007Gs-S1 for ged-emacs-devel@m.gmane.org; Sat, 18 Nov 2006 11:38:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlNaN-0006z8-Oo for ged-emacs-devel@m.gmane.org; Sat, 18 Nov 2006 05:38:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlNa3-0006wA-Sb for emacs-devel@gnu.org; Sat, 18 Nov 2006 05:37:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlNa1-0006u0-Vb for emacs-devel@gnu.org; Sat, 18 Nov 2006 05:37:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlNa1-0006th-OP for emacs-devel@gnu.org; Sat, 18 Nov 2006 05:37:49 -0500 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GlNa1-0000bs-KF for emacs-devel@gnu.org; Sat, 18 Nov 2006 05:37:49 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-68-107.inter.net.il [80.230.68.107]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BAG65787 (AUTH halo1); Sat, 18 Nov 2006 12:37:46 +0200 (IST) Original-To: emacs-devel@gnu.org In-reply-to: <87irhdcvt8.fsf@pereiro.luannocracy.com> (message from David Abrahams on Fri, 17 Nov 2006 21:50:27 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62415 Archived-At: > From: David Abrahams > Date: Fri, 17 Nov 2006 21:50:27 -0500 > > I'm trying to debug some kind of a hang that occurs when I try to use > a font-lock mode I'm developing. I can't get control back by hitting > `C-g'. I suspected it was a bad (combinatoric) regexp, but I added > advice before and after re-search-forward that emitted enter/exit > messages, and when the hang occurs I am seeing an exit message, so I'm > guessing that's not it. I'm quite stumped now; hoping someone can > offer a clue. The file etc/DEBUG in the Emacs distribution has a suggestion for this case; search for "If Emacs hangs".