[Typo3-dev] Suggested change to debug() function - use debug_backtrace()

Stefan Geith typo3dev at geithware.de
Thu Jul 22 18:24:57 CEST 2004


Kasper Skårhøj wrote:
> yes, just do that.
> 
> - kasper
> 
> On Thu, 2004-07-22 at 18:38, dan frost wrote:
> 
>>I've hacked my installation of debug() to include the line and file from 
>>which the debug call came (using debug_backtrace()). This is brilliant 
>>when you have loads of debug statements around your code.
>>
>>Shall I mail the patch?
>>


But debug_backtrace() takes much processing-time;
so if you have many debug-calls, you have to wait
long, to view the output ...

-
Stefan







More information about the TYPO3-dev mailing list