1) Indeces of arrays will be surrounded by [''], so it's easier to distinguish betwee...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugStackFrame.java
index a1c9ab4..4f56af6 100644 (file)
@@ -287,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;
                }
        }
@@ -582,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 {