Syntactic Confectionery Delight | |
PerlMonks |
Re: Suspending Disbelief While Debuggingby RMGir (Prior) |
on Dec 09, 2002 at 16:51 UTC ( [id://218585]=note: print w/replies, xml ) | Need Help?? |
Neither the google cache nor the original link work for me, but I think this will work.
This reminds me of the time I was debugging someone else's C++ code, which returned a const char * from a conversion operator. The value was "magically" changing 2 calls later.
It turned out the pointer being returned was to a buffer on the stack with enough other locals in front of it that the first call wasn't overwriting it...
In Section
Meditations
|
|