View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000360 | Xdebug | Uncategorized | public | 2008-04-09 14:32 | 2011-09-26 09:50 |
Reporter | oetting | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Target Version | 2.2dev | ||||
Summary | 0000360: Function line number in profile not correct | ||||
Description | Please consider the example script and profile below. In the part of the profile that describes the invocation of the function "func" the line number in the cost line is 6. This is the line from where it was called(as described in the cfn block for that function) and not the line where the function is defined. http://valgrind.org/docs/manual/cl-format.html section 3.1.2 paragraph 3 states: As I understand that, the line number should point to code belonging to the function, just as the fl parameter is the file containing the function. Script (line numbers added)1 <?php Profileversion: 0.9.6 events: Time fl=/Users/jacob/development/webdev/docroot/webgrind/test.php fl=/Users/jacob/development/webdev/docroot/webgrind/test.php summary: 135 0 83 | ||||
Tags | No tags attached. | ||||
Operating System | OS X | ||||
PHP Version | 5.2.4 | ||||
|
This is annoying when using KCacheGrind, as after clicking on a function and then using the "Source Code" view, it takes you to the function call - instead of seeing the function definition. |
|
Xdebug 2.2-dev produces: version: 1 events: Time fl=/home/derick/dev/php/xdebug/tests/bug00360.php which seems correct. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-04-09 14:32 | oetting | New Issue | |
2009-11-20 03:21 | toddw | Note Added: 0001144 | |
2010-03-20 23:47 | derick | Target Version | => 2.2dev |
2011-09-26 09:50 | derick | Note Added: 0001818 | |
2011-09-26 09:50 | derick | Status | new => resolved |
2011-09-26 09:50 | derick | Resolution | open => no change required |
2011-09-26 09:50 | derick | Assigned To | => derick |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |