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: Nordlöw
Subject: Re: Tracing the caller of a function
Date: Fri, 27 Nov 2009 13:39:37 -0800 (PST)
User-agent: G2/1.0

On Nov 27, 6:02 pm, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> Nordlöw <per.nord...@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__

Thanks!

/Nordlöw


reply via email to

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