[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to debug high CPU usage -> hang
From: |
Eli Zaretskii |
Subject: |
Re: How to debug high CPU usage -> hang |
Date: |
Tue, 10 Jan 2023 17:21:13 +0200 |
> 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.