View Issue Details

IDProjectCategoryView StatusLast Update
0000778Xdebugpublic2012-02-15 23:12
Reporterdinkenet Assigned Toderick  
Status closedResolutionfixed 
PlatformMacOSOS XOS Version10.6.8
Product Version2.2dev 
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".

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



2012-02-15 21:53

administrator   ~0001917

Could you please provide a remote debug log? Use the xdebug.remote_log setting for that please


2012-02-15 22:19

reporter (3,035 bytes)


2012-02-15 22:20

reporter   ~0001918

Uploaded file, it contains only session with test code example I posted above. Let me know if you need anything else.


2012-02-15 23:12

administrator   ~0001919

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 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)