[TYPO3-core] RFC #15828: Enhance the ExtDirect debugging feature

Susanne Moog info at susannemoog.de
Thu Oct 7 21:54:58 CEST 2010


On 27.09.2010 23:38, Stefan Galinski wrote:
> Hi,
> 
> This is an SVN patch request.
> 
> Type: Feature
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=15828
> 
> Branches: Trunk
> 
> Problem:
> Currently you can use ExtDirect debugging only with the following call:
> t3lib_extjs_extDirectDebug::debug('a debug string');
> 
> Solution:
> Use the $GLOBALS['error'] variable that adds the possibility to use a
> special debug class for the debug function. You can use two possible
> ways after this now. As an additional goodie you can XCLASS the debug
> class now, because it isn't a finalized static class anymore.
> 
> $GLOBALS['error']->debug('a debug string');
> or simply
> debug('a debug string');
> 
> Note:
> Thanks to SteffenK and Jeff for providing this idea. I will modify the
> ExtDirect wiki documentation after the commit of this patch.
> 
> How to Test:
> Install the provided "extdirecttest" extension that demonstrates the
> debug methods.

+1 by reading and testing,

Susanne



More information about the TYPO3-team-core mailing list