[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caller of a function
From: |
Stefan Monnier |
Subject: |
Re: Caller of a function |
Date: |
14 Jul 2003 09:53:05 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> Is there an easy way to find out the caller of the function?
Well, there's `backtrace-frame', but usually when you need this
functionality, it means your code should be written differently.
Stefan
PS: But `backtrace-frame' does come in handy sometimes in a really
ugly `defadvice' or when you're doing debugger-like or profiler-like
things.