[xdebug-general] dbgp response question

From: Paul Shoemaker <Paul.Shoemaker[@]helloecho.com>
Date: Tue, 17 Feb 2009 08:59:56 -0600

Hello,

I am debugging php via the dbgp protocol in vim and finding that the
response does not contain a fullname attribute in the property tag.
It's not that big of a deal, I only had to make a small tweak to the
debugger.py script to handle this. I was wondering if there was a
change or perhaps I don't have the latest version? I'm not sure how
to tell ... below is my full log for a particular session.

Log opened at 2009-02-17 14:52:35
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug
" fileuri="file:///home/pshoemaker/branches/4.0.0/resources/config/dev63.php
" language="PHP" protocol_version="1.0" appid="72944"><engine
version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></
url><copyright><![CDATA[Copyright (c) 2002-2007 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 10
-> <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="break"
reason="ok"><xdebug:message filename="file:///home/pshoemaker/branches/4.0.0/resources/config/dev63.php
" lineno="4"></xdebug:message></response>

<- breakpoint_set -i 5 -t line -f /home/pshoemaker/trunk/public_html/
debugthis.php -n 5 -s enabled
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug
" command="breakpoint_set" transaction_id="5" state="enabled"
id="729440005"></response>

<- run -i 6
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug
" command="run" transaction_id="6" status="break"
reason="ok"><xdebug:message filename="file:///home/pshoemaker/trunk/public_html/debugthis.php
" lineno="5"></xdebug:message></response>

<- stack_get -i 7
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug
" command="stack_get" transaction_id="7"><stack where="{main}"
level="0" type="file" filename="file:///home/pshoemaker/trunk/public_html/debugthis.php
" lineno="5"></stack></response>

<- eval -i 8 -- JGRhdGVPYmo=
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug
" command="eval" transaction_id="8"><property address="-1073746632"
type="object" children="1" classname="Zend_Date"
numchildren="8"><property name="_locale" facet="private"
address="62558876" type="string" size="5" encoding="base64"><!
[CDATA[ZW5fVVM=]]></property><property name="_fractional"
facet="private" address="49340624" type="int"><![CDATA[0]]></
property><property name="_precision" facet="private"
address="49340600" type="int"><![CDATA[3]]></property><property
name="_unixTimestamp" facet="private" address="62558476" type="string"
size="10" encoding="base64"><![CDATA[MTIzNDg4MjM1OA==]]></
property><property name="_timezone" facet="private" address="62178848"
type="string" size="15" encoding="base64"><!
[CDATA[QW1lcmljYS9DaGljYWdv]]></property><property name="_offset"
facet="private" address="62558852" type="int"><![CDATA[21600]]></
property><property name="_syncronised" facet="private"
address="60055976" type="int"><![CDATA[0]]></property><property
name="_dst" facet="protected" address="60055952" type="bool"><!
[CDATA[1]]></property></property></response>

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

Log closed at 2009-02-17 14:52:48

Thanks!

Paul
Received on Tue Feb 17 2009 - 16:09:50 GMT

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