Open ccyeh0901 opened 8 years ago
Can also confirm this bug on ubuntu ST3
I have the same issue on ST3 Windows
I'm experiencing this problem too on ST3 - both on Windows and Ubuntu. I'm fairly certain it has something to do with character encoding.
Just tested with a variable and as soon as I removed the character 'å' from the variable I could see the context again with max_depth > 2.
It's 2018 and this is still a problem
When I set max_depth> 10, xdebug (server) to the command context_get -c 0 is just silent, apparently this is not a plug-in fault.
Hello, when I set the max_depth value bigger than 2, the console shows xml.etree.ElementTree.ParseError. I've reviewed the #77 issue and updated the python code but no work. my problem encountered is a little bit different. When I adjust the max_depth value bigger than 2 ( ex:3, 4, 5....), the Xdebug Context show blank, but the Xdebug Watch Window shows correctly which I can see everything. The xml.etree.ElementTree.ParseError shown in console only occurs when I set the max_depth more than 2 ( ex: 3, 4, 5....), when max_depth is lower than 2, everything is ok. That means I can't inspect the variables more than second level (help:~~~). The only way I can inspect variable more than depth level 2 is using Xdebug Watch. (Thanks God, but it still not so convenient.)
Below are the error message collected and info of my environment: console error message shown:
Exception in thread Thread-519: Traceback (most recent call last): File "./threading.py", line 901, in _bootstrap_inner File "/Users/ccyeh0901/Library/Application Support/Sublime Text 3/Packages/SublimeTextXdebug-master/xdebug/session.py", line 148, in run self.execute(self.get_option('command')) File "/Users/ccyeh0901/Library/Application Support/Sublime Text 3/Packages/SublimeTextXdebug-master/xdebug/session.py", line 242, in execute context = self.get_context_values() File "/Users/ccyeh0901/Library/Application Support/Sublime Text 3/Packages/SublimeTextXdebug-master/xdebug/session.py", line 279, in get_context_values response = S.SESSION.read() File "/Users/ccyeh0901/Library/Application Support/Sublime Text 3/Packages/SublimeTextXdebug-master/xdebug/protocol.py", line 191, in read document = ET.fromstring(data) File "./xml/etree/ElementTree.py", line 1356, in XML File "", line None
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 2, column 173624
Xdebug.sublime.-settings
[xdebug] zend_extension="/Applications/MAMP/bin/php/php5.6.10/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so" xdebug.remote_enable = 1 xdebug.remote_host=127.0.0.1 xdebug.remote_port = 9001 xdebug.remote_handler = "dbgp" xdebug.remote_log = "/var/log/xdebug/xdebug.log"
OS: OSX EI Captain editor: sublime text 3
Really appreciate this plugin which makes programer work faster. Please give me a hand to solve this bug. Thanks a ton.