View Issue Details

IDProjectCategoryView StatusLast Update
0000666Xdebugpublic2011-03-10 20:45
ReporterYunosh Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
Product Version2.1.0 
Summary0000666: Nested object not returning properties above a certain level
Description

Like explained on IRC, if watching variables during remote debugging, expanding nested objects stops working after a certain hierarchy level.
Reproduce script: http://pastebin.com/kcAZNC5g
Remote log: http://pastebin.com/hKWH3pQP

TagsNo tags attached.
Attached Files
hKWH3pQP.txt (15,925 bytes)   
Log opened at 2011-02-22 17:46:43
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///home/jan/horde-git/kronolith/xdebug_nest.php" language="PHP" protocol_version="1.0" appid="22382" idekey="8d3bug"><engine version="2.1.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2010 by Derick Rethans]]></copyright></init>

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

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

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

<- feature_get -i 30003 -n breakpoint_types
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="30003" feature_name="breakpoint_types" supported="1"><![CDATA[line conditional call return exception]]></response>

<- stdout -i 30004 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="30004" success="1"></response>

<- stderr -i 30005 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stderr" transaction_id="30005" success="0"></response>

<- context_names -i 30006
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="30006"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>

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

<- run -i 30008
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="30008" status="break" reason="ok"><xdebug:message filename="file:///home/jan/horde-git/kronolith/xdebug_nest.php" lineno="6"></xdebug:message></response>

<- stack_get -i 30009
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="30009"><stack where="xdebug_break" level="0" type="file" filename="file:///home/jan/horde-git/kronolith/xdebug_nest.php" lineno="6"></stack><stack where="{main}" level="1" type="file" filename="file:///home/jan/horde-git/kronolith/xdebug_nest.php" lineno="6"></stack></response>

<- source -i 30010 -f file:///home/jan/horde-git/kronolith/xdebug_nest.php
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="source" transaction_id="30010" encoding="base64"><![CDATA[PD9waHAKJG8gPSBuZXcgc3RkQ2xhc3MoKTsKJG8tPmEgPSBuZXcgc3RkQ2xhc3MoKTsKJG8tPmEtPmIgPSBuZXcgc3RkQ2xhc3MoKTsKJG8tPmEtPmItPmMgPSBuZXcgc3RkQ2xhc3MoKTsKeGRlYnVnX2JyZWFrKCk7CmV4aXQ7Cg==]]></response>

<- step_over -i 30011
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_over" transaction_id="30011" status="break" reason="ok"><xdebug:message filename="file:///home/jan/horde-git/kronolith/xdebug_nest.php" lineno="7"></xdebug:message></response>

<- stack_get -i 30012
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="30012"><stack where="{main}" level="0" type="file" filename="file:///home/jan/horde-git/kronolith/xdebug_nest.php" lineno="7"></stack></response>

<- context_get -i 30013 -c 0 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="30013" context="0"><property name="o" fullname="$o" address="140216537096280" type="object" classname="stdClass" children="1" numchildren="1" page="0" pagesize="32"><property name="CLASSNAME" type="string"><![CDATA[stdClass]]></property><property name="a" fullname="$o-&gt;a" facet="public" address="140216537093152" type="object" classname="stdClass" children="1" numchildren="1"><property name="CLASSNAME" type="string"><![CDATA[stdClass]]></property></property></property></response>

<- context_get -i 30014 -c 1 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="30014" context="1"><property name="_COOKIE" fullname="$_COOKIE" address="140216537059320" type="array" children="1" numchildren="5" page="0" pagesize="32"><property name="default_imp_view" fullname="$_COOKIE[&apos;default_imp_view&apos;]" address="140216537060672" type="string" size="3" encoding="base64"><![CDATA[aW1w]]></property><property name="Horde" fullname="$_COOKIE[&apos;Horde&apos;]" address="140216537061392" type="string" size="26" encoding="base64"><![CDATA[cWd2aGxoamZyajBkMHBhcjV0bGRiYXN1cTE=]]></property><property name="auth_key" fullname="$_COOKIE[&apos;auth_key&apos;]" address="140216537061928" type="string" size="22" encoding="base64"><![CDATA[NzMxNDA3NDQxNGQ2Mzg0NzFhMzVmYQ==]]></property><property name="horde_sidebar_expanded" fullname="$_COOKIE[&apos;horde_sidebar_expanded&apos;]" address="140216537062496" type="string" size="13" encoding="base64"><![CDATA[ZXhwb3JnYW5pemluZw==]]></property><property name="XDEBUG_SESSION" fullname="$_COOKIE[&apos;XDEBUG_SESSION&apos;]" address="140216537063056" type="string" size="6" encoding="base64"><![CDATA[OGQzYnVn]]></property></property><property name="_ENV" fullname="$_ENV" address="140216537064520" type="array" children="0" numchildren="0" page="0" pagesize="32"></property><property name="_FILES" fullname="$_FILES" address="140216537063968" type="array" children="0" numchildren="0" page="0" pagesize="32"></property><property name="_GET" fullname="$_GET" address="140216537059008" type="array" children="0" numchildren="0" page="0" pagesize="32"></property><property name="_POST" fullname="$_POST" address="140216537063272" type="array" children="0" numchildren="0" page="0" pagesize="32"></property><property name="_REQUEST" fullname="$_REQUEST" address="140216537064960" type="array" children="0" numchildren="0" page="0" pagesize="32"></property><property name="_SERVER" fullname="$_SERVER" address="140216537065400" type="array" children="1" numchildren="31" page="0" pagesize="32"><property name="SCRIPT_URL" fullname="$_SERVER[&apos;SCRIPT_URL&apos;]" address="140216537066416" type="string" size="36" encoding="base64"><![CDATA[L2hlYWRob3JkZS9rcm9ub2xpdGgveGRlYnVnX25lc3QucGhw]]></property><property name="SCRIPT_URI" fullname="$_SERVER[&apos;SCRIPT_URI&apos;]" address="140216537067056" type="string" size="52" encoding="base64"><![CDATA[aHR0cDovL25lby53Zy5kZS9oZWFkaG9yZGUva3Jvbm9saXRoL3hkZWJ1Z19uZXN0LnBocA==]]></property><property name="HTTP_HOST" fullname="$_SERVER[&apos;HTTP_HOST&apos;]" address="140216537067616" type="string" size="9" encoding="base64"><![CDATA[bmVvLndnLmRl]]></property><property name="HTTP_USER_AGENT" fullname="$_SERVER[&apos;HTTP_USER_AGENT&apos;]" address="140216537068368" type="string" size="105" encoding="base64"><![CDATA[TW96aWxsYS81LjAgKFgxMTsgVTsgTGludXggeDg2XzY0OyBkZS1ERTsgcnY6MS45LjIuMTMpIEdlY2tvLzIwMTAxMjA2IFVidW50dS8xMC4wNCAobHVjaWQpIEZpcmVmb3gvMy42LjEz]]></property><property name="HTTP_ACCEPT" fullname="$_SERVER[&apos;HTTP_ACCEPT&apos;]" address="140216537069024" type="string" size="63" encoding="base64"><![CDATA[dGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksKi8qO3E9MC44]]></property><property name="HTTP_ACCEPT_LANGUAGE" fullname="$_SERVER[&apos;HTTP_ACCEPT_LANGUAGE&apos;]" address="140216537070344" type="string" size="385" encoding="base64"><![CDATA[ZGUtREUsZGUsZW4tVVM7cT0wLjksZW47cT0wLjkscHQtUFQ7cT0wLjkscHQ7cT0wLjksZW4tZ2I7cT0wLjgsc3YtU0U7cT0wLjgsc3Y7cT0wLjgsZnItRlI7cT0wLjcsZnI7cT0wLjcsZXMtRVM7cT0wLjcsZXM7cT0wLjcscGwtUEw7cT0wLjYscGw7cT0wLjYscHQtYnI7cT0wLjYsZXUtRVM7cT0wLjUsZXU7cT0wLjUsbmwtTkw7cT0wLjUsbmw7cT0wLjUsZGUtZGU7cT0wLjQsZGUtREUuVVRGLTg7cT0wLjQscnUtUlU7cT0wLjQscnU7cT0wLjMsZW4tdXM7cT0wLjMsamEtSlA7cT0wLjMsamE7cT0wLjMsZW4tZ2I7cT0wLjIsZGUtREUtMTk5NjtxPTAuMixpdC1JVDtxPTAuMixpdDtxPTAuMSxlbi1pbjtxPTAuMSxlbi1jYTtxPTAuMSxQVC1wdDtxPTAuMSxlbi1sb2NhbDtxPTAuMA==]]></property><property name="HTTP_ACCEPT_ENCODING" fullname="$_SERVER[&apos;HTTP_ACCEPT_ENCODING&apos;]" address="140216537070792" type="string" size="12" encoding="base64"><![CDATA[Z3ppcCxkZWZsYXRl]]></property><property name="HTTP_ACCEPT_CHARSET" fullname="$_SERVER[&apos;HTTP_ACCEPT_CHARSET&apos;]" address="140216537071400" type="string" size="30" encoding="base64"><![CDATA[SVNPLTg4NTktMSx1dGYtODtxPTAuNywqO3E9MC43]]></property><property name="HTTP_KEEP_ALIVE" fullname="$_SERVER[&apos;HTTP_KEEP_ALIVE&apos;]" address="140216537072256" type="string" size="3" encoding="base64"><![CDATA[MTE1]]></property><property name="HTTP_CONNECTION" fullname="$_SERVER[&apos;HTTP_CONNECTION&apos;]" address="140216537072992" type="string" size="10" encoding="base64"><![CDATA[a2VlcC1hbGl2ZQ==]]></property><property name="HTTP_COOKIE" fullname="$_SERVER[&apos;HTTP_COOKIE&apos;]" address="140216537073624" type="string" size="148" encoding="base64"><![CDATA[ZGVmYXVsdF9pbXBfdmlldz1pbXA7IEhvcmRlPXFndmhsaGpmcmowZDBwYXI1dGxkYmFzdXExOyBhdXRoX2tleT03MzE0MDc0NDE0ZDYzODQ3MWEzNWZhOyBob3JkZV9zaWRlYmFyX2V4cGFuZGVkPWV4cG9yZ2FuaXppbmc7IFhERUJVR19TRVNTSU9OPThkM2J1Zw==]]></property><property name="HTTP_CACHE_CONTROL" fullname="$_SERVER[&apos;HTTP_CACHE_CONTROL&apos;]" address="140216537074064" type="string" size="9" encoding="base64"><![CDATA[bWF4LWFnZT0w]]></property><property name="PATH" fullname="$_SERVER[&apos;PATH&apos;]" address="140216537074768" type="string" size="28" encoding="base64"><![CDATA[L3Vzci9sb2NhbC9iaW46L3Vzci9iaW46L2Jpbg==]]></property><property name="SERVER_SIGNATURE" fullname="$_SERVER[&apos;SERVER_SIGNATURE&apos;]" address="140216537075432" type="string" size="70" encoding="base64"><![CDATA[PGFkZHJlc3M+QXBhY2hlLzIuMi4xNiAoVWJ1bnR1KSBTZXJ2ZXIgYXQgbmVvLndnLmRlIFBvcnQgODA8L2FkZHJlc3M+Cg==]]></property><property name="SERVER_SOFTWARE" fullname="$_SERVER[&apos;SERVER_SOFTWARE&apos;]" address="140216537075992" type="string" size="22" encoding="base64"><![CDATA[QXBhY2hlLzIuMi4xNiAoVWJ1bnR1KQ==]]></property><property name="SERVER_NAME" fullname="$_SERVER[&apos;SERVER_NAME&apos;]" address="140216537076552" type="string" size="9" encoding="base64"><![CDATA[bmVvLndnLmRl]]></property><property name="SERVER_ADDR" fullname="$_SERVER[&apos;SERVER_ADDR&apos;]" address="140216537077416" type="string" size="12" encoding="base64"><![CDATA[MTkyLjE2OC42MC4x]]></property><property name="SERVER_PORT" fullname="$_SERVER[&apos;SERVER_PORT&apos;]" address="140216537078152" type="string" size="2" encoding="base64"><![CDATA[ODA=]]></property><property name="REMOTE_ADDR" fullname="$_SERVER[&apos;REMOTE_ADDR&apos;]" address="140216537078712" type="string" size="14" encoding="base64"><![CDATA[MTkyLjE2OC42MC4xMTc=]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&apos;DOCUMENT_ROOT&apos;]" address="140216537079272" type="string" size="8" encoding="base64"><![CDATA[L3Zhci93d3c=]]></property><property name="SERVER_ADMIN" fullname="$_SERVER[&apos;SERVER_ADMIN&apos;]" address="140216537079848" type="string" size="19" encoding="base64"><![CDATA[d2VibWFzdGVyQGxvY2FsaG9zdA==]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&apos;SCRIPT_FILENAME&apos;]" address="140216537080472" type="string" size="44" encoding="base64"><![CDATA[L3Zhci93d3cvaGVhZGhvcmRlL2tyb25vbGl0aC94ZGVidWdfbmVzdC5waHA=]]></property><property name="REMOTE_PORT" fullname="$_SERVER[&apos;REMOTE_PORT&apos;]" address="140216537081016" type="string" size="5" encoding="base64"><![CDATA[Mzk5NjM=]]></property><property name="GATEWAY_INTERFACE" fullname="$_SERVER[&apos;GATEWAY_INTERFACE&apos;]" address="140216537081712" type="string" size="7" encoding="base64"><![CDATA[Q0dJLzEuMQ==]]></property><property name="SERVER_PROTOCOL" fullname="$_SERVER[&apos;SERVER_PROTOCOL&apos;]" address="140216537082280" type="string" size="8" encoding="base64"><![CDATA[SFRUUC8xLjE=]]></property><property name="REQUEST_METHOD" fullname="$_SERVER[&apos;REQUEST_METHOD&apos;]" address="140216537082824" type="string" size="3" encoding="base64"><![CDATA[R0VU]]></property><property name="QUERY_STRING" fullname="$_SERVER[&apos;QUERY_STRING&apos;]" address="140216537083368" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REQUEST_URI" fullname="$_SERVER[&apos;REQUEST_URI&apos;]" address="140216537083976" type="string" size="36" encoding="base64"><![CDATA[L2hlYWRob3JkZS9rcm9ub2xpdGgveGRlYnVnX25lc3QucGhw]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&apos;SCRIPT_NAME&apos;]" address="140216537084584" type="string" size="36" encoding="base64"><![CDATA[L2hlYWRob3JkZS9rcm9ub2xpdGgveGRlYnVnX25lc3QucGhw]]></property><property name="PHP_SELF" fullname="$_SERVER[&apos;PHP_SELF&apos;]" address="140216537085184" type="string" size="36" encoding="base64"><![CDATA[L2hlYWRob3JkZS9rcm9ub2xpdGgveGRlYnVnX25lc3QucGhw]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&apos;REQUEST_TIME&apos;]" address="140216537085392" type="int"><![CDATA[1298396803]]></property></property><property name="GLOBALS" fullname="$GLOBALS" address="140216536984416" type="array" children="1" numchildren="9" page="0" pagesize="32"><property name="GLOBALS" fullname="$GLOBALS[&apos;GLOBALS&apos;]" address="140216536984416" type="array" children="1" recursive="1"></property><property name="_POST" fullname="$GLOBALS[&apos;_POST&apos;]" address="140216537063272" type="array" children="0" numchildren="0"></property><property name="_GET" fullname="$GLOBALS[&apos;_GET&apos;]" address="140216537059008" type="array" children="0" numchildren="0"></property><property name="_COOKIE" fullname="$GLOBALS[&apos;_COOKIE&apos;]" address="140216537059320" type="array" children="1" numchildren="5"></property><property name="_FILES" fullname="$GLOBALS[&apos;_FILES&apos;]" address="140216537063968" type="array" children="0" numchildren="0"></property><property name="_ENV" fullname="$GLOBALS[&apos;_ENV&apos;]" address="140216537064520" type="array" children="0" numchildren="0"></property><property name="_REQUEST" fullname="$GLOBALS[&apos;_REQUEST&apos;]" address="140216537064960" type="array" children="0" numchildren="0"></property><property name="_SERVER" fullname="$GLOBALS[&apos;_SERVER&apos;]" address="140216537065400" type="array" children="1" numchildren="31"></property><property name="o" fullname="$GLOBALS[&apos;o&apos;]" address="140216537096280" type="object" classname="stdClass" children="1" numchildren="1"><property name="CLASSNAME" type="string"><![CDATA[stdClass]]></property></property></property></response>

Log opened at 2011-02-22 17:46:51
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///home/jan/horde-git/horde/services/ajax.php" language="PHP" protocol_version="1.0" appid="25231" idekey="8d3bug"><engine version="2.1.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2010 by Derick Rethans]]></copyright></init>

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

Log closed at 2011-02-22 17:46:51
hKWH3pQP.txt (15,925 bytes)   
Operating System
PHP Version5.3.3

Activities

derick

2011-03-10 20:29

administrator   ~0001685

Script:
<?php
$o = new stdClass();
$o->a = new stdClass();
$o->a->b = new stdClass();
$o->a->b->c = new stdClass();
xdebug_break();
exit;

derick

2011-03-10 20:45

administrator   ~0001686

This seems to be an IDE issue. It doesn't set the required more nesting levels through the protocol, or bother to request more information for the nested objects. I don't know there is much I can do about this.

Issue History

Date Modified Username Field Change
2011-02-22 17:53 Yunosh New Issue
2011-03-10 20:29 derick Note Added: 0001685
2011-03-10 20:29 derick File Added: hKWH3pQP.txt
2011-03-10 20:45 derick Note Added: 0001686
2011-03-10 20:45 derick Status new => resolved
2011-03-10 20:45 derick Resolution open => not fixable
2011-03-10 20:45 derick Assigned To => derick
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)