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..a94b869 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; @@ -16,23 +18,32 @@ public class XDebugObjectValue extends XDebugAbstractValue { 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