[Typo3-dev] Suggested change to debug() function - use debug_backtrace()
dan frost
dan at danfrost.co.uk
Thu Jul 22 19:11:28 CEST 2004
Not much longer - and it should only affect development / debugging
installations. Unless you output production content using debug!!
dan
Stefan Geith wrote:
> 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