[TYPO3-dev] debug: dump everything in the broweser

Steffen Kamper steffen at dislabs.de
Tue Mar 27 17:55:12 CEST 2007


"Asbjoern Morell" <atmorell at gmail.com> schrieb im Newsbeitrag 
news:mailman.1.1175010439.26442.typo3-dev at lists.netfielders.de...
> Hey,
>
> Some time ago I programmed a few small applications in the framework Cake. 
> What I did was include a function phpdump in my index file, each time I 
> had problem I could dump everything onto the screen like this: 
> dump($this); This showed all objects, variables and sql query's in nice 
> colors and boxes. I tried to do the same thing from my typo3 frontend 
> plugin. debug($this); But I don't get anything? How do I do something like 
> that with typo3?
>
> Best regards.
> Asbjørn Morell.
>

use t3lib_div::debug($this) - but you get only the Object
If you want to see a big debug, use t3lib_div::debug($GLOBALS) :-)

vg  Steffen






More information about the TYPO3-dev mailing list