Refactor and enabled value view in variable view.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugVariable.java
index c136e76..553a400 100644 (file)
@@ -33,8 +33,8 @@ public class XDebugVariable extends XDebugElement implements IVariable {
         * @param name variable name
         */
        public XDebugVariable(XDebugStackFrame frame, Node property) throws DebugException {
+               super((XDebugTarget) frame.getDebugTarget());
                if (frame != null ) {
-                       //super((XDebugTarget) frame.getDebugTarget());
                        fFrame = frame;
                }
 
@@ -139,9 +139,9 @@ public class XDebugVariable extends XDebugElement implements IVariable {
         * 
         * @return the stack frame owning this variable
         */
-       protected XDebugStackFrame getStackFrame() {
+       /*protected XDebugStackFrame getStackFrame() {
                return fFrame;
-       }
+       }*/
        
        public String getValueString() throws DebugException {
                return fValue.getValueString();