package net.sourceforge.phpeclipse.xdebug.php.model;
+import org.eclipse.debug.core.DebugException;
import org.w3c.dom.Node;
public class XDebugArrayValue extends XDebugAbstractValue {
- public XDebugArrayValue(XDebugStackFrame variable, Node value) {
+ public XDebugArrayValue(XDebugStackFrame variable, Node value) throws DebugException {
super(variable, value);
}
- public void renderValueString(String data) {
+ public void renderValueString(String data) throws DebugException {
if (data.equals("")) {
- fValueString = "empty";
+ setValueString("empty")/*fValueString = "empty"*/;
} else {
- if ("array".equals(fTypeName)) {
- fValueString = "array";
+ if ("array".equals(getReferenceTypeName())) {
+ setValueString("array")/*fValueString = "array"*/;
} else {
- fValueString = data;
+ setValueString(data)/*fValueString = data*/;
}
}
}