emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug hang?


From: martin rudalics
Subject: Re: How to debug hang?
Date: Sat, 18 Nov 2006 09:58:34 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> 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.

If a (presumed) bug in font-locking makes Emacs hang during redisplay,
the latter won't be able to display your message.  You could try to
write your messages to a dribble file.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]