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

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

Re: menu-bar-update-hook performance problems


From: Stefan Monnier
Subject: Re: menu-bar-update-hook performance problems
Date: 10 Mar 2003 14:53:43 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Dan" == Dan Debertin <airboss@nodewarrior.org> writes:
> (lambda ()
>    (save-excursion       
>      (set-buffer (get-buffer-create "*temp-trace*"))
>        (insert (prin1-to-string (backtrace))))))

> But, sadly, the backtraces I get out of it (and boy, do I ever get
> backtraces) stop at 'run-hooks'. Perhaps I will advise run-hooks.

It's probably because the hook is run from the C code, so there
is no previous elisp function on the stack.  You'll need
to debug it at the C level, I'm afraid.


        Stefan


reply via email to

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