I have found similar infinite recursion problems anytime there is a
php notice thrown. I've been able to work around it by disabling the
debugger from handling phps error handling
I put
define("DISABLE_DEFAULT_ERROR_HANDLING", true);
temporarily in debugger.php until this is fixed but you could
It is a bit odd. Unfortunately the Debugger class is new in 1.2 so
there is nothing to look back on. I'm not familiar enough with the
inner workings to fix it fully, but there is definitely some more work
to be done in the class. As you mentioned, $recursion doesn't seem to
be doing anything (one
I haven't yet had the time to look into it in much detail so I'm
afraid I'm not much help. I think you are absolutely right though. I
also think it's odd that the $recursion variable that keeps getting
counted down whenever exportVar() is called (except when it is called
from __object()) and is ne
Great, thanks for the tip. This is almost certainly a bug since the
debugger should never get stuck in an infinite loop. If I take the
__object() call out of the 'object' case, everything works fine (even
with get_class() intact). I just wonder what the intended behavior is,
the documentation isn'
actually, after re-reading my post I think you're seeing problems with
the same function that I am (the __object($var) function, not the
get_class() function as I stated above) try commenting out the same
lines of code from my earlier post:
//causes some sort of overflow
here is my previous post:
http://groups.google.com/group/cake-php/browse_thread/thread/48c6a57a5427a546/4169d2729f0d71b4#4169d2729f0d71b4
On Jan 23, 2:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I was having a similar problem with the cake debugger running out of
> memory on an error
I was having a similar problem with the cake debugger running out of
memory on an error (in this case it was an undefined variable in the
view). I just commented out the offending lines of code in /cake/libs/
debugger.php. The problem was a call to the get_class() function and
it looks like it's h