Fix #680.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugStackFrame.java
index 09bed63..b0e057f 100644 (file)
@@ -70,11 +70,16 @@ public class XDebugStackFrame  extends XDebugElement implements IStackFrame {
        }
        
        public IVariable[] getVariables() throws DebugException {
-               if (fVariables == null) {
+               /* always read variables, poor performance
+                * but this fix bug #680.
+                * need to investigate on.
+                */
+               
+               //if (fVariables == null) {
                        Node dfl = ((XDebugTarget) getDebugTarget()).getLocalVariables(fLevel);
                        Node dfg = ((XDebugTarget) getDebugTarget()).getGlobalVariables(fLevel);
                        parseVariable(dfl, dfg);
-               }
+               //}
 
                return fVariables;
        }