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 / XDebugArrayValue.java
index 6174c3e..7680a89 100644 (file)
@@ -10,7 +10,7 @@ import org.w3c.dom.NodeList;
 public class XDebugArrayValue extends XDebugAbstractValue {
        private int NumChildren;
 
-       public XDebugArrayValue(XDebugStackFrame variable, Node value) throws DebugException {
+       public XDebugArrayValue(XDebugStackFrame variable, Node value, XDebugVariable parent) throws DebugException {
                super(variable, value);
 
                NumChildren = 0;
@@ -25,7 +25,7 @@ public class XDebugArrayValue extends XDebugAbstractValue {
                        
                        for (int i = 0; i<property.getLength(); i++) {
                                Node propertyNode = property.item(i);
-                               Variables[i] = new XDebugVariable(variable, propertyNode);
+                               Variables[i] = new XDebugVariable(variable, propertyNode, parent);
                        }
                        
                        setChildren(Variables);