[xdebug-general] Help! No time information in profiler output.

From: Joe Kramer <cckramer[@]gmail.com>
Date: Tue, 9 Dec 2008 02:11:43 +1100

Hello,

My profiler output has no time information. All times is 0.00s.
I recompiled many times and simply don't know where to look.
Can developer of Xdebug please give any hint on what can I do to make it work?

Thanks.

Xdebug 2.0.3, PHP 5.2.6

profiler output:

0 1155
cfn=php::define
calls=1 0 0
18 2
cfn=php::function_exists
calls=1 0 0
19 0
cfn=php::phpversion
calls=1 0 0
19 0
cfn=php::version_compare
calls=1 0 0
19 3
cfn=php::dirname
calls=1 0 0

phpinfo:

Darwin iMac.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3
11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
Build Date Nov 29 2008 00:52:45
Configure Command './configure' '--prefix=/sw' '--enable-zip'
'--enable-mbstring' '--enable-memcache' '--with-iconv=/sw'
'--with-jpeg-dir=/sw' '--with-png-dir=/sw' '--enable-sockets'
'--with-zlib' '--without-pear' '--enable-sqlite-utf8' '--enable-pdo'
'--with-pdo-sqlite' '--with-pdo-pgsql=/sw' '--with-sqlite'
'--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-bz2'
'--with-curl' '--with-mcrypt=/sw' '--with-mysql=/sw'
'--with-freetype-dir=/sw/lib/freetype219/' '--with-pgsql=/sw'
'--with-gd' '--with-curl=/sw' '--enable-exif'
'--with-apxs2=/sw/bin/apxs2'
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path /sw/lib
Loaded Configuration File /sw/lib/php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams zip, php, file, data, http, ftp,
compress.bzip2, compress.zlib
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed,
convert.iconv.*, bzip2.*, zlib.*

xdebug
xdebug support enabled
Version 2.0.3

Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.125.2.4 $
GDB - GNU Debugger protocol $Revision: 1.87 $
PHP3 - PHP 3 Debugger protocol $Revision: 1.22 $

Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.idekey root no value
xdebug.manual_url http://www.php.net http://www.php.net
xdebug.max_nesting_level 100 100
xdebug.profiler_aggregate Off Off
xdebug.profiler_append On On
xdebug.profiler_enable On On
xdebug.profiler_enable_trigger On On
xdebug.profiler_output_dir /sw/var/xdebug /sw/var/xdebug
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p
xdebug.remote_autostart Off Off
xdebug.remote_enable Off Off
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log no value no value
xdebug.remote_mode jit jit
xdebug.remote_port 9000 9000
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir /tmp /tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3

php.ini:

zend_extension_ts=/sw/lib/php/xdebug.so

[xdebug]
xdebug.remote_mode = jit
xdebug.default_enable = On
xdebug.profiler_enable_trigger=on
xdebug.profiler_enable=on
xdebug.profiler_output_dir=/sw/var/xdebug
Received on Mon Dec 08 2008 - 16:44:49 GMT

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