[xdebug-general] Re: Call to undefined function xdebug_start_profiling()

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue, 4 Oct 2005 13:26:21 +0200 (CEST)

On Tue, 4 Oct 2005, Alexander Rebholz wrote:

> Hello,
> I am useing xdebug V. 2.0.0.beta1 on Windows XP and Apache 2/PHP 5.0.4..
> phpinfo() lists the xdebug extension.

Please upgrade to the latest beta (beta4) from

> If I try to use "xdebug_start_profiling()" in my PHP script I get the
> error message "Call to undefined function xdebug_start_profiling()".
> Thus I cannot use "xdebug_dump_function_profile()" neither.
> However if I use 'xdebug.profiler_enable = "1";' in my php.ini the
> cachgrind.out file is created correctly. So it must work somehow. But
> I would also like to use the on-screen profiling output to test only
> parts of my script.
> What other configuration settings are required to to make it work?

None, in Xdebug 2 those functions no longer exists because:
- They skewed results
- They used *way* too much memory up to the point where it would crash
  my machine.


Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Tue Oct 04 2005 - 13:26:23 BST

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