On 5/24/2009 10:23 AM, Romain Francois wrote:
Duncan Murdoch wrote:
On 23/05/2009 4:55 PM, Robert Gentleman wrote:
Kynn Jones wrote:
[snip]
and you have a breakpoint in bar, you could not (easily)
distinguish which of
the two calls to bar was active. There is no line counter or anything
Duncan Murdoch wrote:
On 5/24/2009 10:23 AM, Romain Francois wrote:
Duncan Murdoch wrote:
On 23/05/2009 4:55 PM, Robert Gentleman wrote:
Kynn Jones wrote:
[snip]
and you have a breakpoint in bar, you could not (easily)
distinguish which of
the two calls to bar was active. There is no
On 5/26/2009 12:57 PM, Romain Francois wrote:
Duncan Murdoch wrote:
On 5/24/2009 10:23 AM, Romain Francois wrote:
Duncan Murdoch wrote:
On 23/05/2009 4:55 PM, Robert Gentleman wrote:
Kynn Jones wrote:
[snip]
and you have a breakpoint in bar, you could not (easily)
distinguish which of
On 5/26/2009 12:57 PM, Romain Francois wrote:
Duncan Murdoch wrote:
On 5/24/2009 10:23 AM, Romain Francois wrote:
Duncan Murdoch wrote:
On 23/05/2009 4:55 PM, Robert Gentleman wrote:
Kynn Jones wrote:
[snip]
and you have a breakpoint in bar, you could not (easily)
distinguish which of
On 23/05/2009 4:55 PM, Robert Gentleman wrote:
Hi Kynn,
Kynn Jones wrote:
Suppose function foo calls function bar. Is there any way in which
bar can find out the name of the function that called it, foo?
essentially yes. You can find out about the call stack by using sys.calls and
Duncan Murdoch wrote:
On 23/05/2009 4:55 PM, Robert Gentleman wrote:
Kynn Jones wrote:
[snip]
and you have a breakpoint in bar, you could not (easily)
distinguish which of
the two calls to bar was active. There is no line counter or anything
of that
sort available.
The evaluator
Suppose function foo calls function bar. Is there any way in which
bar can find out the name of the function that called it, foo?
There are two generalization to this question that interest me.
First, can this query go farther up the call stack? I.e. if bar now
calls baz, can baz find out the
Hi Kynn,
Kynn Jones wrote:
Suppose function foo calls function bar. Is there any way in which
bar can find out the name of the function that called it, foo?
essentially yes. You can find out about the call stack by using sys.calls and
sys.parents etc. The man page plus additional manuals
On Sat, May 23, 2009 at 4:55 PM, Robert Gentleman rgent...@fhcrc.org wrote:
Hi Kynn,
Kynn Jones wrote:
Suppose function foo calls function bar. Is there any way in which
bar can find out the name of the function that called it, foo?
essentially yes. You can find out about the call stack