The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000047
======================================================================
Reporter: sergio
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 47
Category: Usage problems
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Operating System: Red Hat 7.3, Mac OS X 10.3.2
PHP Version: 4.3.10
Xdebug Version: 1.3.0
Resolution: unable to duplicate
======================================================================
Date Submitted: 2004-02-27 13:19 CET
Last Modified: 2005-12-30 17:00 CET
======================================================================
Summary: Profile data not dumped on file when profiling is called from PHP script
Description:
If profiling is called from script with
xdebug_start_profiling('/path/to/some/dir/'.$variableFilename)
profiling data are displayed to screen but no written to file.
The file as been created but it contain only 2 lines
Start of function profiler
End of function profiler
If the profiling is started from php.ini all is working fine (no HTML
output, data written to file)
======================================================================
----------------------------------------------------------------------
sergio - 2004-02-27 13:22 CET
----------------------------------------------------------------------
Sorry, this is reported in bug 000021 and solved. Readed after posting...
:-}
----------------------------------------------------------------------
sergio - 2004-02-27 15:08 CET
----------------------------------------------------------------------
I'm posting again...
I can replicate the behavior also omitting the
xdebug_dump_function_profile() from the code.
No profile data are written to file.
It's probably my fault but where?
----------------------------------------------------------------------
derick - 2004-02-27 21:05 CET
----------------------------------------------------------------------
You should remove the xdebug_stop_profiling() function as it will clean up
all the data before the profiling information is written to the file. (You
might also have to remove the xdebug_dump_function_profile() function).
----------------------------------------------------------------------
sergio - 2004-03-01 10:24 CET
----------------------------------------------------------------------
It is still dumping anything but
Start of function profiler
End of function profiler
to file.
The code i'm testing is the following
<?php
xdebug_start_profiling('/dati/home/aghemo/oracle.showroom.loc/xdebug/'.time().'.txt');
echo date("d-m-Y H:i", time());
phpinfo();
?>
If could be related I cannot guess way to start xdebug profiling from
httpd.conf nor .htaccess; only php.ini auto start profiling works
edited on: 2004-03-01 10:24
----------------------------------------------------------------------
derick - 2005-09-23 10:37 CEST
----------------------------------------------------------------------
Does this still happen with the latest CVS version (2.0.0beta3-dev)?
----------------------------------------------------------------------
derick - 2005-12-30 17:00 CET
----------------------------------------------------------------------
I got no feedback, so I'm closing this report as I can not duplicate it
either.
Bug History
Date Modified Username Field Change
======================================================================
2004-02-27 13:19sergio New Bug
2004-02-27 13:22sergio Bugnote Added: 0000101
2004-02-27 15:08sergio Bugnote Added: 0000102
2004-02-27 21:05derick Bugnote Added: 0000103
2004-02-27 21:05derick Status new => feedback
2004-03-01 10:06sergio Bugnote Added: 0000105
2004-03-01 10:24sergio Bugnote Edited: 0000105
2004-03-05 11:19sergio Bug Monitored: sergio
2004-03-05 11:19sergio Bug End Monitor: sergio
2005-09-23 10:37derick Bugnote Added: 0000297
2005-09-23 10:37derick PHP Version 4.3.2 => 4.3.10
2005-12-02 19:19nluetic Bug Monitored: nluetic
2005-12-30 17:00derick Bugnote Added: 0000323
2005-12-30 17:00derick Assigned To => derick
2005-12-30 17:00derick Resolution open => unable to duplicate
2005-12-30 17:00derick Status feedback => resolved
======================================================================
Received on Fri Dec 30 2005 - 17:00:27 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST