[xdebug-general] Re: executing a custom function

From: sime <info[@]urbits.com>
Date: Tue, 24 Jul 2007 00:23:19 +1000

Derick Rethans wrote:

>On Mon, 23 Jul 2007, Mathieu Kooiman wrote:
>
>
>
>>On 7/23/07, sime <info[@]urbits.com> wrote:
>>
>>
>>>I'd like to execute some custom code each time control enters or leaves
>>>a function. I make the assumption that there is a trigger for both these
>>>events, but looking through the settings and functions documentation
>>>pages, I am not able to find any way to hook into this trigger.
>>>
>>>My goal is to insert some data into a database table. I recognise this
>>>will slow down execution speed, but I'm not measuring performance so
>>>that's ok.
>>>
>>>
>>Wouldn't it be easier just to run a trace of profile and import that
>>data into a database?
>>
>>
>
>I would suggest that as well, and use the computerized output
>(http://xdebug/docs/all_settings#trace_format).
>
>regards,
>Derick
>
>
>
Thanks Mathieu, Derick for the guidance. Yay for trace_output_name as
trace.%t.%R. That should put me straight.

Simon
Received on Mon Jul 23 2007 - 16:24:08 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST