From 60c592068b9a98c778a176ab603df762c77451fb Mon Sep 17 00:00:00 2001 From: incastrix Date: Thu, 4 Feb 2010 19:13:30 +0000 Subject: [PATCH] Eliminate CLASSNAME duplicate from object properties, see http://bugs.xdebug.org/view.php?id=518 and http://svn.xdebug.org/cgi-bin/viewvc.cgi/xdebug/trunk/xdebug_var.c?root=xdebug&r1=2962&r2=2996 --- .../xdebug/php/model/XDebugObjectValue.java | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) 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..92ba352 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; @@ -20,14 +22,22 @@ public class XDebugObjectValue extends XDebugAbstractValue { if (NumChildren > 0) { NodeList property = value.getChildNodes(); - IVariable[] Variables = new IVariable[property.getLength()]; - for (int i = 0; i