fix first part of bug #677, for second see feature request #688.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugArrayValue.java
index f0117cd..cded934 100644 (file)
@@ -21,7 +21,11 @@ public class XDebugArrayValue extends XDebugAbstractValue {
        }
 
        public void renderValueString(String data) {
-               fValueString= data +" element(s)";
+               if (data.isEmpty()) {
+                       fValueString = /*"Array */"empty";
+               } else {
+                       fValueString = /*"Array " + */data + " element(s)";                     
+               }
        }
 
        public boolean verifyValue(String expression) {