Hi list!
Good evening from Germany. Today I discovered Xdebug and WinCacheGrind
and tried to run the profiler on some of my scripts. Debugging and
tracing works fine, I also can use functions like xdebug_time_index().
But there's a problem with profiling:
Xdebug generates the profile cachegrind.out.* files, but there is no
information about the run- and execution time of the scripts and
functions in it. WinCacheGrind doesn't display any times, and in the
file I only see 0 where I think should be the time values:
fl=php:internal
fn=php::time
5 0
fl=php:internal
fn=php::date
5 0
fl=php:internal
fn=php::mysql_connect
9 0
fl=php:internal
fn=php::mysql_select_db
10 0
fl=G:\foo\include\database.php
fn=require::(null)
1 0
cfn=php::mysql_connect
calls=1 0 0
9 0
cfn=php::mysql_select_db
calls=1 0 0
10 0
[...]
Do you have an idea what I am doing wrong?
I tried all the other .dll files I could find on the Xdebug site, but
only Xdebug v2.0.0rc1-dev, binary snapshot (php_xdebug.dll - php-5.0.5
(5_0)) seems to work - no wonder, it's the one that fits my php
version.
In the trace.xxx.xt I have execution times, so xdebug has to be able
to capture it.
Some information on my system:
Xdebug v2.0.0rc1-dev
Windows XP Professional
Apache/2.0.55 (Win32)
PHP 5.0.5
Zend Engine v2.0.5
Would be really glad if someone could help me.
/ Jan Piotrowski
Received on Wed Aug 23 2006 - 02:46:26 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST