Fix #680.
authorincastrix <incastrix>
Tue, 3 Feb 2009 02:32:53 +0000 (02:32 +0000)
committerincastrix <incastrix>
Tue, 3 Feb 2009 02:32:53 +0000 (02:32 +0000)
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;
        }