Index: trunk/core/kernel/utility/debugger.php =================================================================== diff -u -r2596 -r2625 --- trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 2596) +++ trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 2625) @@ -216,6 +216,8 @@ { if(is_object($argValue) && !in_array(get_class($argValue),$this->RecursionStack) ) { + if( get_class($argValue) == 'kfactory' || get_class($argValue) == 'debugger' ) continue; + // object & not in stack - ok array_push($this->RecursionStack, get_class($argValue)); settype($argValue,'array'); @@ -817,8 +819,14 @@ } else { - if (!dbg_ConstOn('DBG_HIDE_FULL_REPORT')) ob_end_flush(); - else ob_clean(); + if( !dbg_ConstOn('DBG_HIDE_FULL_REPORT') ) + { + ob_end_flush(); + } + else + { + ob_clean(); + } if( dbg_ConstOn('DBG_SHOW_MEMORY_USAGE') ) echo $this->getMemoryUsageReport(); } }