I installed xdebug 2.1.3 on a CentOS 5 system running PHP 5.2.13 and
Apache 2.2.3. I updated php.ini with the following, appended
XDEBUG_PROFILE=1 to a Drupal URL and was able to get a function trace.
zend_extension=/usr/lib64/php/modules/xdebug.so
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "/tmp"
I then set xdebug.profiler_enable_trigger = 1, add the following lines and
restarted Apache. However, the format of the output file looks identical
to what I had before. Setting xdebug.profiler_enable_trigger = 2 made no
difference. I verified that the values are being picked up using
phpinfo(),
xdebug.collect_params = 4
xdebug.collect_return = 1
Am I missing something obvious?
Thanks, Norbert
Received on Tue Feb 14 2012 - 03:56:56 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST