[xdebug-general] AW: Missing variables while remote debugging

From: Nikolai Essel - MAXWORX GmbH <Nikolai.Essel[@]maxworx.com>
Date: Fri, 26 Nov 2010 16:38:27 +0100

Hi again,

I tried the code of http://xdebug.org/archives/xdebug-general/1913.html again with PHP 5.1.6 and XDebug 2.0.3.
The result below was the expected one (private members of base class included).

Why this behavior changed, or can this be configured anywhere?


Kind regards

<- context_get -i 23 -d 0
->
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="23" context="0">
        <property name="test" fullname="$test" type="uninitialized"></property>
        <property name="$this" fullname="$this" address="171354176" type="object" children="1" classname="XDebugTestclass2" numchildren="6">
                <property name="_var2_1" fullname="$this-&gt;_var2_1" facet="private" address="171368528" type="null"></property>
                <property name="_var2_2" fullname="$this-&gt;_var2_2" facet="private" address="171364008" type="null"></property>
                <property name="_var2_3" fullname="$this-&gt;_var2_3" facet="private" address="171355112" type="string" size="4" encoding="base64"><![CDATA[dGVzdA==]]></property>
                <property name="_var1_1" fullname="$this-&gt;_var1_1" facet="private" address="170200272" type="null"></property>
                <property name="_var1_2" fullname="$this-&gt;_var1_2" facet="private" address="170200608" type="null"></property>
                <property name="_var1_3" fullname="$this-&gt;_var1_3" facet="private" address="170200912" type="null"></property>
        </property>
</response>


-----Ursprüngliche Nachricht-----
Von: Derick Rethans [mailto:derick[@]xdebug.org]
Gesendet: Mittwoch, 24. November 2010 13:23
An: Nikolai Essel - MAXWORX GmbH
Cc: xdebug-general[@]lists.xdebug.org
Betreff: Re: [xdebug-general] Missing variables while remote debugging

Hi!

On Wed, 24 Nov 2010, Nikolai Essel - MAXWORX GmbH wrote:

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

Odd; would you have a small reproducing script perhaps so that I can try to debug this?

cheers,
Dreick

--
Like Xdebug? Consider a donation: http://xdebug.org/donate.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug

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 Fri Nov 26 2010 - 15:38:31 GMT

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