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

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

Re: High CPU load after pressing arbitrary key (mostly in C mode)


From: suvayu ali
Subject: Re: High CPU load after pressing arbitrary key (mostly in C mode)
Date: Thu, 18 Aug 2011 13:59:03 +0200

On Wed, Aug 17, 2011 at 5:56 PM, Michal Sojka
<sojka@os.inf.tu-dresden.de> wrote:
> I workaround this by exiting emacs and starting it again. Is there any
> way how to debug such problems. For example tracing all functions that
> are called when a key is pressed?
>

My lisp know-how is not that great. However AFAIU, you can toggle debug on
quit and debug on error. Then when the slow down happens, press any
key and as the CPU load goes up hit quit (C-g). If that triggers the
debugger you could get some hints from there.

GL.

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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