[xdebug-general] Problems getting xdebug to work with vim debugger

From: trelayne <trelayne[@]letterstorm.org>
Date: Mon, 09 Mar 2009 18:38:57 -0400

Hi there!

I've enclosed the debugger output below. I can get the software
to break on the first line of a test script. But when I try to
step over the next line, the connection is close with the log below.

Platform: Ubuntu 8.04
vim: 71

Also I saw the following error message in a vim buffer:

(<type 'exceptions.EOFError'>, EOFError('Socket Closed',), <traceback
object at 0x83e36e4>)
  File "/usr/share/vim/vim71/plugin/debugger.py", line 1067, in
debugger_command
    debugger.command(msg, arg1, arg2)
  File "/usr/share/vim/vim71/plugin/debugger.py", line 918, in command
    self.recv()
  File "/usr/share/vim/vim71/plugin/debugger.py", line 715, in recv
    txt = self.protocol.recv_msg()
  File "/usr/share/vim/vim71/plugin/debugger.py", line 604, in recv_msg
    length = self.recv_length()
  File "/usr/share/vim/vim71/plugin/debugger.py", line 579, in recv_length
    raise EOFError, 'Socket Closed'

appreciate any help on this. Thanks!

--Raj

---------------------------

-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///var/www/test.php" language="PHP" protocol_version="1.0"
appid="31488" idekey="1"><engine
version="2.0.4"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2008 by Derick Rethans]]></copyright></init>

<- feature_set -i 1 -n max_children -v 32
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="1" feature="max_children" success="1"></response>

<- feature_set -i 2 -n max_data -v 1024
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="2" feature="max_data" success="1"></response>

<- feature_set -i 3 -n max_depth -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="3" feature="max_depth" success="1"></response>

<- step_into -i 4
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="4" status="stopping" reason="ok"></response>

<- step_over -i 5
Log closed at 2009-03-09 22:27:52
Received on Tue Mar 10 2009 - 00:02:27 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST