View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000799 | Xdebug | Uncategorized | public | 2012-03-18 22:42 | 2017-05-08 18:48 |
Reporter | astorm | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
OS | OS X | OS Version | 10.6.8 | ||
Product Version | 2.2dev | ||||
Fixed in Version | 2.5.4 | ||||
Summary | 0000799: xDebug Function Traces reports Base Class instead of Object Name | ||||
Description | When running a function trace xDebug reports on the base class an object's method is defined in, and not on the type of the object instance. Derick's comments on this Stack Overflow thread indicate this is not normal behavior | ||||
Steps To Reproduce |
Expected Output:
Actual Output
The output discrepancy is B->bar() vs. A->bar(). The object was instantiated with a class "B", but xDebug reports the base class, A->Bar(); | ||||
Additional Information | Issue happen on OS X 10.6.8, phpinfo reports the xDebug version as 2.2.0rc1, happens with Stock OS X PHP with an xDebug installed via pecl. Full phpinfo() output printed and attached as PDF. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | OS X 10.6.8 | ||||
PHP Version | 5.3.6 | ||||
|
I did have a look at this, but it isn't as easy to solve as I thought. More tinkering required. |
|
Fixed for PHP 7.0/7.1 in Xdebug 2.5.4. The problem remains for PHP 5, |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-18 22:42 | astorm | New Issue | |
2012-03-18 22:42 | astorm | File Added: phpinfo.pdf | |
2012-03-21 10:22 | derick | Target Version | => 2.2.1 |
2012-07-14 22:14 | derick | Target Version | 2.2.1 => 2.2.2 |
2013-03-23 14:50 | derick | Target Version | 2.2.2 => 2.2.3 |
2013-05-22 03:51 | derick | Target Version | 2.2.3 => 2.2.x |
2013-06-09 10:22 | derick | Note Added: 0002500 | |
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) |
2016-11-28 20:59 | derick | Assigned To | => derick |
2016-11-28 20:59 | derick | Status | new => confirmed |
2017-05-08 18:48 | derick | Note Added: 0004341 | |
2017-05-08 18:48 | derick | Status | confirmed => closed |
2017-05-08 18:48 | derick | Resolution | open => fixed |
2017-05-08 18:48 | derick | Fixed in Version | => 2.5.4 |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |