[TYPO3-dev] Problem with debugging

Malte Jansen mail at maltejansen.de
Thu Nov 22 12:52:17 CET 2007


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Malte Jansen wrote:
>> since there is no frame I the output of echo or print_r() is writing 
>> behind the layer in a tceform. So it's very difficult to get it.
>>
>> Is there somewhere a function were the echo/print_r can be redirct or 
>> something simular.
>>
>> For the tceform on the getMainFields
>> this works fine:
>>         ob_start();
>>         echo '<div>';
>>         print_r($data);
>>         echo '</div>';
>>         $temp = ob_get_contents();
>>         ob_end_clean();
>>         return $temp.$output;
>>
>> but it does not work at every place...
>>
>> Any suggestion?
> 
> cc_debug + t3lib_div::debug(). This will open new window with nucely 
> formatted debug information.
> 

Thanks for fast tip, but the same problem occurse in the tceform. There 
is no new window and the output is behind the form....

Cheers,

Malte




More information about the TYPO3-dev mailing list