X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugObjectValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugObjectValue.java index 1af871a..4e7be86 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugObjectValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugObjectValue.java @@ -1,5 +1,7 @@ package net.sourceforge.phpeclipse.xdebug.php.model; +import java.util.ArrayList; + import net.sourceforge.phpeclipse.xdebug.core.PHPDebugUtils; import org.eclipse.debug.core.DebugException; @@ -10,29 +12,38 @@ 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; if (!PHPDebugUtils.getAttributeValue(value, "numchildren").equals("")) { NumChildren = Integer.parseInt(PHPDebugUtils.getAttributeValue(value, "numchildren")); - } + } if (NumChildren > 0) { NodeList property = value.getChildNodes(); - IVariable[] Variables = new IVariable[property.getLength()]; - - for (int i = 0; i