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

Stefan Galinski stefan.galinski at gmail.com
Mon Oct 4 23:14:11 CEST 2010


Reminder #1

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.
> 

-- 
Stefan Galinski


More information about the TYPO3-team-core mailing list