help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to debug high CPU usage -> hang


From: Ken Goldman
Subject: Re: How to debug high CPU usage -> hang
Date: Wed, 11 Jan 2023 15:24:53 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

On 1/10/2023 10:21 AM, Eli Zaretskii wrote:
From: Ken Goldman <kgoldman@us.ibm.com>
Date: Tue, 10 Jan 2023 09:58:58 -0500

I'm editing in ReST mode, Windows 11, emacs 28.1.

Occasionally, I want to jump (search, etc.) and the CPU usage jumps and
emacs hangs. I suspect a font-lock issue.

I fixed one by bisecting the text, then changing a table type.  Now I
have another.

Is there a general way to debug?

I can suggest profiling and/or attaching a debugger.


Attaching a debugger to the lisp major mode, or building emacs from
source?





reply via email to

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