[xdebug-general] Re: dbgp response question

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue, 17 Feb 2009 15:33:39 +0000 (GMT)

On Tue, 17 Feb 2009, Paul Shoemaker wrote:

> 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.

<snip>

> <- 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>

<snip>

You're using eval, and everything returned from eval does not have a
name attached to it. As it would be meaning less immediately after the
call. Because of that, no fullname attribute can be constructed.

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: derickrethans
Received on Tue Feb 17 2009 - 16:33:39 GMT

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