X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java index 6f10fb3..32ea3fa 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java @@ -24,12 +24,12 @@ import org.w3c.dom.NodeList; public abstract class XDebugAbstractValue extends XDebugElement implements IValue { private IVariable[] fVariables; - protected String fValueString; - protected String fTypeName; + private String fValueString; + private String fTypeName; private boolean fhasChanged; - public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) { - super((XDebugTarget) frame.getDebugTarget()); + public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) throws DebugException { + super(frame == null ? null : (XDebugTarget) frame.getDebugTarget()); fTypeName = PHPDebugUtils.getAttributeValue(varNode,"type"); @@ -109,11 +109,11 @@ public abstract class XDebugAbstractValue extends XDebugElement implements IVal return (fVariables.length > 0); } - public abstract void renderValueString(String data); + public abstract void renderValueString(String data) throws DebugException; public abstract boolean verifyValue(String expression); - public boolean setValue(String expression) { + public boolean setValue(String expression) throws DebugException { if (!verifyValue(expression)) { return false; } @@ -127,4 +127,8 @@ public abstract class XDebugAbstractValue extends XDebugElement implements IVal public boolean supportsValueModification() { return false; } + + public void setValueString(String valueString) { + fValueString = valueString; + } } \ No newline at end of file