bug-bash
[Top][All Lists]
Advanced

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

Re: Re: Inline `ifdef style` debugging


From: Greg Wooledge
Subject: Re: Re: Inline `ifdef style` debugging
Date: Thu, 11 Aug 2011 16:55:55 -0400
User-agent: Mutt/1.4.2.3i

On Thu, Aug 11, 2011 at 12:38:17PM -0800, Roger wrote:
> OK. Now I see the collapsing, and it seems more like a hidden collapse rather
> then an immediately apparent collapse from an initial stance after
> reading/tracing.  When tracing this function, I was thinking the function
> would be read each time the top function was called.

I'd call it "replacing the function with a different one".  And yes,
at first glance it looks like the function is defining a new function
(with the same name) recursively, in preparation for calling it; but
apparently not.  It's wiping itself out so the *next* call gets the
new function.



reply via email to

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