[xdebug-general] Re: executing a custom function

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 23 Jul 2007 10:01:46 +0200 (CEST)

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

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Mon Jul 23 2007 - 10:01:46 BST

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