MantisBT

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
Reporterdinkenet 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
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:

<?php
$xml = '<?xml version="1.0" encoding="UTF-8" ?>
<root>
</root>';
$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: http://grab.by/bYnk [^]
Additional Informationxdebug php.ini settings:
version: 2.2dev
[xdebug]
zend_extension="/opt/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.profiler_output_dir = "/tmp/xdebug/"
xdebug.profiler_enable = On
xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.idekey=ECLIPSE_DBGP
xdebug.var_display_max_data=65535
xdebug.var_display_max_depth = 128
TagsNo tags attached.
Operating SystemMac OS X 10.6.8
PHP Version5.3.9
Attached Fileszip file icon xdebug_remote.log.zip [^] (3,035 bytes) 2012-02-15 22:19

- Relationships

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

Could you please provide a remote debug log? Use the xdebug.remote_log setting for that please
(0001918)
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.
(0001919)
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: xdebug_remote.log.zip
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 - 2017 MantisBT Team
Powered by Mantis Bugtracker