|
From: | Michal Sojka |
Subject: | Re: High CPU load after pressing arbitrary key (mostly in C mode) |
Date: | Thu, 18 Aug 2011 14:08:54 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11 |
On 08/18/2011 01:59 PM, suvayu ali wrote:
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.
Thanks for reply. I have tried this, but the backtrace was almost empty every time. It seems that C-g was processed only after the previous keys, which caused the load, were processed :-( -Michal
[Prev in Thread] | Current Thread | [Next in Thread] |