| Anonymous | Login | Signup for a new account | 2013-05-22 11:16 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000639 | Xdebug | Usage problems | public | 2010-11-10 08:54 | 2011-03-21 20:42 | |||
| Reporter | jayprakash | |||||||
| Assigned To | derick | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | linux | OS | ubuntu | OS Version | kubuntu 10.10 | |||
| Product Version | 2.2dev | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000639: Xdebug profiling: output not correct - missing 'cfl=' | |||||||
| Description | more than any description : https://bugs.kde.org/show_bug.cgi?id=256425 [^] "Actually, the supplied cachegrind file seems buggy to me. It only specifies the source file name for functions, but not for call targets." | |||||||
| Additional Information | tested on svn compiled source. Version 2.2.0-dev $ cat /etc/php5/conf.d/xdebug.ini zend_extension=/opt/sources/xdebug/modules/xdebug.so xdebug.remote_enable = 1 xdebug.remote_host = 127.0.0.1 xdebug.collect_params = 4 xdebug.collect_return = 1 xdebug.collect_vars = 1 xdebug.show_local_vars = 1 xdebug.remote_handler="dbgp" $ cat .htaccess php_value xdebug.profiler_output_name cachegrind.out.%u.%H.cachegrind php_value xdebug.profiler_output_dir ~/www/profiler/ php_value xdebug.profiler_enable 1 | |||||||
| Tags | No tags attached. | |||||||
| Operating System | kubuntu 10.10 | |||||||
| PHP Version | 5.3.3 | |||||||
| Attached Files | ||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0001676) fmaz008 (reporter) 2011-02-15 16:42 |
In addition to the cfl problem: I have an index.php file calling a frontcontroller.php (so only 1 require on the whole file) That is profiled this way: fl=/var/www/framework/frontcontroller.php fn=require::/var/www/framework/frontcontroller.php 1 1397 cfn=php::dirname calls=1 0 0 13 13 cfn=require::/var/www/framework/frontcontroller.php calls=1 0 0 6 140823 From what I've understood, fl should be file where the call ( fn ) is located. If I switch the fl line to this: fl=/var/www/public_html/index.php ... the call graph will render correctly. |
|
(0001689) derick (administrator) 2011-03-13 21:40 |
Just a little update; I started looking into this. |
|
(0001696) derick (administrator) 2011-03-21 20:42 |
Fixed in SVN for 2.1.1 and HEAD. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-11-10 08:54 | jayprakash | New Issue | |
| 2011-02-15 16:42 | fmaz008 | Note Added: 0001676 | |
| 2011-03-13 21:40 | derick | Note Added: 0001689 | |
| 2011-03-21 20:42 | derick | Note Added: 0001696 | |
| 2011-03-21 20:42 | derick | Status | new => closed |
| 2011-03-21 20:42 | derick | Assigned To | => derick |
| 2011-03-21 20:42 | derick | Resolution | open => fixed |
| 2011-08-20 09:14 | derick | Relationship added | has duplicate 0000489 |
| Copyright © 2000 - 2011 MantisBT Group |