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

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

Re: Tracing the caller of a function


From: Pascal J. Bourguignon
Subject: Re: Tracing the caller of a function
Date: Fri, 27 Nov 2009 18:02:51 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

Nordlöw <per.nordlow@gmail.com> writes:

> How can I trace the reason for a function being called many times when
> I have no clue where? In other words how do I trace the caller of a
> function in Emacs?

Put a breakpoint on that function and watch the backtrace.

M-x debug-on-entry RET that-function RET
(do-something)

-- 
__Pascal Bourguignon__


reply via email to

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