From: incastrix Date: Tue, 3 Feb 2009 02:32:53 +0000 (+0000) Subject: Fix #680. X-Git-Url: http://git.phpeclipse.com?hp=66c2ac63969a77f4e7393319fcc412be5a82b648 Fix #680. --- 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 09bed63..b0e057f 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 @@ -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; }