[xdebug-general] property_get a large variable

From: Chi Hung Fu <chihungfu[@]gmail.com>
Date: Wed, 21 Dec 2005 12:11:46 -0800


I am using DBGp to debug my php code. Since one of the variable is very
large, so I tried to use
(cmd) feature_set -i <appid> -n max_depth -v 1
hoping when I do property_get I would only retrieve the top level attributes
of that property.
But I always get the whole object(all the way down to the last nested
level) instead of just the top level attributes.
Is there a way I can specify to retrieve just the top level attributes of
the property? And when I need dig further into the tree, I will just do
property_get again, basically one level at a time.

Btw, the reason I need to do this is the object is so large that it takes a
long time to return the response when I do property_get.

Received on Wed Dec 21 2005 - 21:11:48 GMT

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