[xdebug-general] Missing variables while remote debugging

From: Nikolai Essel - MAXWORX GmbH <Nikolai.Essel[@]maxworx.com>
Date: Wed, 24 Nov 2010 12:59:39 +0100

Hi all,

are there some limitations of the returned values from context_get? I´m using php5.3.1 VC6 TS with Xdebug v2.1.0

While debugging in Eclipse I missed most of the variables of $this in the variables view. Watching $this doesn't display the variables either.
I tried to increase the pagesize to 500 or decreased it to 10 but this didn´t help.

After activating remote debug log I recognized that the contents aren't transferred by xdebug.
Below you can find the log of a breakpoint hit. I cutted some sub-parts (marked with "... cutted") to minimize the contents.

Any ideas why most of the properties of $this are missing (numchildren 92 but only 5 inclued)?

Thanks

<- context_get -i 204 -d 0
->
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="204" context="0">
                <property name="attribute" fullname="$attribute" type="uninitialized"></property>
                <property name="encodingCharset" fullname="$encodingCharset" address="103564816" type="string" size="10" encoding="base64"><![CDATA[SVNPLTg4NTktMQ==]]></property>
                <property name="i" fullname="$i" type="uninitialized"></property>
                <property name="n" fullname="$n" type="uninitialized"></property>
                <property name="rec" fullname="$rec" type="uninitialized"></property>
                <property name="res" fullname="$res" type="uninitialized"></property>
                <property name="tooltipData" fullname="$tooltipData" address="105615072" type="array" children="0" numchildren="0" page="0" pagesize="500"></property>
                <property name="this" fullname="$this" address="103502840" type="object" classname="ChangeuebersichtsListe" children="1" numchildren="92" page="0" pagesize="500">
                               <property name="CLASSNAME" type="string"><![CDATA[ChangeuebersichtsListe]]></property>
                               <property name="_querySelectAttributes" fullname="$this-&gt;_querySelectAttributes" facet="private" address="103554400" type="array" children="1" numchildren="70" page="0" pagesize="500">
                                               <property name="id" fullname="$this-&gt;_querySelectAttributes[&apos;id&apos;]" address="103543936" type="string" size="4" encoding="base64"><![CDATA[Yy5pZA==]]></property>
                                               ... cutted 69 additional properties here (~18400 chars)
                               </property>
                               <property name="_useCache" fullname="$this-&gt;_useCache" facet="protected" address="103582520" type="bool"><![CDATA[1]]></property>
                               <property name="pkey_attribute" fullname="$this-&gt;pkey_attribute" facet="protected" address="103583144" type="string" size="2" encoding="base64"><![CDATA[aWQ=]]></property>
                               <property name="clusters" fullname="$this-&gt;clusters" facet="public" address="103688312" type="array" children="1" numchildren="2" page="0" pagesize="500">
                                               ... cutted 2 properties here (~13200 chars)
                               </property>
                </property>
</response>

Nikolai Essel
MAXWORX GmbH

Brückenstrasse 8-10
63628 Bad Soden-Salmünster

Phone +49 (0)6056 - 20 92 - 0
STEPHAN.MUELLER[@]MAXWORX.COM<mailto:STEPHAN.MUELLER[@]MAXWORX.COM>

________________________________
MAXWORX GmbH | Brückenstraße 8-10 | 63628 Bad Soden-Salmünster | Germany
Amtsgericht Hanau | HRB 90677 | Geschäftsführer: Holger Göbel, Ralph Göbel

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Received on Wed Nov 24 2010 - 12:16:43 GMT

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