View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000910 | Xdebug | Uncategorized | public | 2012-12-14 01:47 | 2013-03-09 21:59 |
Reporter | speller | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.2.1 | ||||
Summary | 0000910: Exceptions or warnings when debugging DOMAttr objects | ||||
Description | When trying to step over lines with variables with DOMAttr objects I always get exceptions or warnings "Not yet implemented". When tested in real application I got exceptions. But when reproduced it in test script I got warnings in PHP output. | ||||
Steps To Reproduce | Execute attached test.php file. You will get clean output: attr value Now set breakpoint to line 16 "echo $name, ' ', $attr->value;" and start debugging. After execution stops on the breakpoint just continue execution and allow the script to complete. Now you will have the following script output: Warning: main(): Not yet implemented in C:\usr\work\vlru\comments\web\test.php on line 16 | ||||
Additional Information | PHPStorm 5.0.4 IDE, PHP 5.4.7 32bit, Windows 7 x64 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Windows 7 x64 | ||||
PHP Version | 5.4.4 | ||||
|
This is not a bug, but your test.php code stands a little in the way to see that directly. See the following example:
The important part is: xdebug evaluates the variables if there is a breakpoint. And you actually want that despite the warning in this case. Because So when you run over this or similar problems, please double check what is causing the warning specifically. |
|
Duplicated with 913, which works just fine for me. I've committed a test case. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-12-14 01:47 | speller | New Issue | |
2012-12-14 01:47 | speller | File Added: test.php | |
2013-01-05 17:07 | hakre | Note Added: 0002411 | |
2013-01-05 17:08 | hakre | Note Edited: 0002411 | |
2013-01-05 17:08 | hakre | Note Edited: 0002411 | |
2013-01-05 17:09 | hakre | Note Edited: 0002411 | |
2013-01-05 17:09 | hakre | Note Edited: 0002411 | |
2013-01-05 17:09 | hakre | Note Edited: 0002411 | |
2013-01-05 17:09 | hakre | Note Edited: 0002411 | |
2013-01-05 17:10 | hakre | Note Edited: 0002411 | |
2013-01-05 17:10 | hakre | Note Edited: 0002411 | |
2013-01-05 17:11 | hakre | Note Edited: 0002411 | |
2013-01-05 17:11 | hakre | Note Edited: 0002411 | |
2013-03-09 21:59 | derick | Note Added: 0002438 | |
2013-03-09 21:59 | derick | Relationship added | duplicate of 0000913 |
2013-03-09 21:59 | derick | Status | new => resolved |
2013-03-09 21:59 | derick | Resolution | open => fixed |
2013-03-09 21:59 | 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 |