X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStackFrame.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStackFrame.java index ece1a54..4f56af6 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStackFrame.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStackFrame.java @@ -211,6 +211,7 @@ public class XDebugStackFrame extends XDebugElement implements IStackFrame, Com if (!valOld.getValueString().equals( valNew.getValueString())) { // Has the value changed? valOld.setValueString(valNew.getValueString()); // Yes, set the 'static' value (variable) to the new value + valOld.setReferenceTypeName (valNew.getReferenceTypeName ()); varOld.setValueChanged(true); // and set the 'has changed' flag, so that the variable view // could show the user the changed status with a different // color @@ -286,13 +287,13 @@ public class XDebugStackFrame extends XDebugElement implements IStackFrame, Com int length = property.getLength(); for (int i = 0; i < length; i++) { - XDebugVariable var = new XDebugVariable(this, property.item(i)); + XDebugVariable var = new XDebugVariable(this, property.item(i), null); fVariables[i] = var; } int globalLength = propertyGlobal.getLength(); for (int k = 0; k < globalLength; k++) { - XDebugVariable var = new XDebugVariable(this, propertyGlobal.item(k)); + XDebugVariable var = new XDebugVariable(this, propertyGlobal.item(k), null); fVariables[k + length] = var; } } @@ -581,7 +582,7 @@ public class XDebugStackFrame extends XDebugElement implements IStackFrame, Com } public boolean setVariableValue(XDebugVariable variable, String expression) throws DebugException { - return ((XDebugTarget) getDebugTarget()).setVarValue("$" + variable.getName(), expression); + return ((XDebugTarget) getDebugTarget()).setVarValue(variable.getName(), expression); } public Node eval(String expression) throws DebugException {