From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: How to debug hang? Date: Fri, 17 Nov 2006 21:50:27 -0500 Message-ID: <87irhdcvt8.fsf@pereiro.luannocracy.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163818382 30159 80.91.229.2 (18 Nov 2006 02:53:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Nov 2006 02:53:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 18 03:52:51 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GlGJe-0003Gk-CJ for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Nov 2006 03:52:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlGJd-0006sE-Tq for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Nov 2006 21:52:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlGJR-0006oj-E1 for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 21:52:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlGJP-0006lu-Vm for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 21:52:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlGJP-0006lh-QY for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 21:52:11 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GlGJP-0002vb-Lj for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 21:52:12 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GlGIs-0003Bj-Dj for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 03:51:44 +0100 Original-Received: from 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com ([216.15.125.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Nov 2006 03:51:38 +0100 Original-Received: from dave by 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Nov 2006 03:51:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:UvJ3PTavFW/xw8KLDzA3dc0AkZk= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38787 gmane.emacs.devel:62406 Archived-At: Hi, 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. Thanks, -- Dave Abrahams Boost Consulting www.boost-consulting.com