View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000778Xdebug(No Category)public2012-02-15 20:552012-02-15 23:12
Assigned Toderick 
PlatformMacOSOS XOS Version10.6.8
Product Version2.2dev 
Target VersionFixed in Version 
Summary0000778: Xdebug session in Eclipse crash whenever it run into simplexml_load_string call
DescriptionI was doing usuall "remote debugging" session in Eclipse when I noticed that it always crash whenever it reach line with simplexml_load_string call. I get "Unexpected termination of script, debugging ended" message in small popup.
Steps To ReproduceCreate really simple php script that use simplexml_load_string function, I used this one:

$xml = '<?xml version="1.0" encoding="UTF-8" ?>
$temp = simplexml_load_string($xml, "SimpleXMLElement", LIBXML_NOERROR);
echo "It works?";

Start debugger in Eclipse i.e. by pointing to script's url and start remote debugging session (I do it with Firefox easyXdebug ext). Do "Step Into" till you reach simplexml line. After you run it you'll let "Unexpected termination of script, debugging ended".

Screenshot: [^]
Additional Informationxdebug php.ini settings:
version: 2.2dev
xdebug.profiler_output_dir = "/tmp/xdebug/"
xdebug.profiler_enable = On
xdebug.var_display_max_depth = 128
TagsNo tags attached.
Operating SystemMac OS X 10.6.8
PHP Version5.3.9
Attached Fileszip file icon [^] (3,035 bytes) 2012-02-15 22:19

- Relationships

-  Notes
derick (administrator)
2012-02-15 21:53

Could you please provide a remote debug log? Use the xdebug.remote_log setting for that please
dinkenet (reporter)
2012-02-15 22:20

Uploaded file, it contains only session with test code example I posted above. Let me know if you need anything else.
derick (administrator)
2012-02-15 23:12

Fixed on github. Thanks!

- Issue History
Date Modified Username Field Change
2012-02-15 20:55 dinkenet New Issue
2012-02-15 21:53 derick Note Added: 0001917
2012-02-15 21:53 derick Assigned To => derick
2012-02-15 21:53 derick Status new => feedback
2012-02-15 22:19 dinkenet File Added:
2012-02-15 22:20 dinkenet Note Added: 0001918
2012-02-15 22:20 dinkenet Status feedback => assigned
2012-02-15 23:12 derick Note Added: 0001919
2012-02-15 23:12 derick Status assigned => closed
2012-02-15 23:12 derick Resolution open => fixed
2016-07-31 13:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 13:35 derick Category debugclient (debugging tool) => (No Category)

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker