| Anonymous | Login | Signup for a new account | 2013-05-19 07:26 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 | |||
| 0000650 | Xdebug | Usage problems | public | 2011-01-05 12:47 | 2012-07-14 20:38 | |||
| Reporter | ppisl | |||||||
| Assigned To | derick | |||||||
| Priority | normal | Severity | major | Reproducibility | always | |||
| Status | resolved | Resolution | duplicate | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 2.1.0 | |||||||
| Target Version | 2.2.1 | Fixed in Version | 2.2.1 | |||||
| Summary | 0000650: xdebug sends invalid xml character in certain case | |||||||
| Description | It's reproducible when you try to debug this code: define('EL_GAMMA', chr(hexdec('0x13'))); $arr = array(EL_GAMMA=>'?') ; After debugging second line, the messages contains invalid characters. It's similar to the bug id 0000421. | |||||||
| Steps To Reproduce | Just try to debug file <?php define('EL_GAMMA', chr(hexdec('0x13'))); $arr = array(EL_GAMMA=>'?') ; echo "test"; ?> | |||||||
| Tags | No tags attached. | |||||||
| Operating System | ||||||||
| PHP Version | 5.3.3 | |||||||
| Attached Files | ||||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
(0001631) nexxer (reporter) 2011-01-05 14:51 |
To add to this, xdebug also stops showing changes to variables or any new ones after encountering such a character. Step through: define('EL_GAMMA', chr(hexdec('0x13'))); $var1 = 'hello' ; $arr = array(EL_GAMMA=>'?') ; $var2 = 'hi' ; $var1 = 'changed?' ; |
|
(0001632) ppisl (reporter) 2011-01-05 15:04 |
The problem mentioned by Nexxer is on the NetBeans site. xdebug sends the new variables, but because the message contains invalid xml character, NetBeans were not able to parse the xml and such message was not processed correctly. I have implemented workaround in NetBeans that removed all invalid characters from the xdebug message, so in NetBeans you should see new variables now (if you use a build with the fix (http://netbeans.org/bugzilla/show_bug.cgi?id=179309 [^])). |
|
(0001633) nexxer (reporter) 2011-01-05 16:08 |
Thanks for ppisl's fix this is not an issue anymore. Apologies for jumping the gun here. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-01-05 12:47 | ppisl | New Issue | |
| 2011-01-05 14:51 | nexxer | Note Added: 0001631 | |
| 2011-01-05 15:04 | ppisl | Note Added: 0001632 | |
| 2011-01-05 16:08 | nexxer | Note Added: 0001633 | |
| 2011-01-10 21:56 | derick | Relationship added | has duplicate 0000638 |
| 2012-03-12 16:39 | derick | Target Version | => 2.2.1 |
| 2012-06-27 22:15 | derick | Relationship added | duplicate of 0000610 |
| 2012-06-27 22:15 | derick | Status | new => resolved |
| 2012-06-27 22:15 | derick | Resolution | open => duplicate |
| 2012-06-27 22:15 | derick | Assigned To | => derick |
| 2012-07-14 20:38 | derick | Fixed in Version | => 2.2.1 |
| Copyright © 2000 - 2011 MantisBT Group |