1) Added parameter 'parent' to XDebugVariable, so we can determine whether a variable...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugObjectValue.java
index a94b869..4e7be86 100644 (file)
@@ -12,7 +12,7 @@ import org.w3c.dom.NodeList;
 public class XDebugObjectValue extends XDebugAbstractValue {
        private int NumChildren;
 
-       public XDebugObjectValue(XDebugStackFrame variable, Node value) throws DebugException {
+       public XDebugObjectValue(XDebugStackFrame variable, Node value, XDebugVariable parent) throws DebugException {
                super(variable, value);
 
                NumChildren = 0;
@@ -34,7 +34,7 @@ public class XDebugObjectValue extends XDebugAbstractValue {
                                String name     = PHPDebugUtils.getAttributeValue (propertyNode, "name");
 
                                if (!name.equals ("CLASSNAME")) {
-                                       a.add(new XDebugVariable(variable, propertyNode));
+                                       a.add(new XDebugVariable(variable, propertyNode, parent));
                                }
                        }