Changes for variablemodificatin
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / PHPDBGProxy.java
index ad51716..1c73cf9 100644 (file)
@@ -228,15 +228,18 @@ public class PHPDBGProxy {
                        throw new RuntimeException(ex.getMessage());
                }
        }
-
-       public PHPVariable[] readInstanceVariables(PHPVariable variable) {
+       
+       public PHPVariable[] eval(PHPStackFrame frame,String evalString) {
                try {
-                       return DBGInt.getInstVars(variable);
+                       return DBGInt.evalBlock(frame,evalString);
+                       //                      return DBGInt.getVariables(frame);
+               } catch (IOException ioex) {
+                       ioex.printStackTrace();
+                       throw new RuntimeException(ioex.getMessage());
                } catch (DebugException ex) {
                        ex.printStackTrace();
                        throw new RuntimeException(ex.getMessage());
                }
-
        }
 
        public void readStepOverEnd(PHPStackFrame stackFrame) {