Refactor and enabled value view in variable view.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugAbstractValue.java
index 9a68c77..6e69d0b 100644 (file)
@@ -25,11 +25,11 @@ import org.w3c.dom.NodeList;
 public abstract class XDebugAbstractValue  extends XDebugElement implements IValue {
        private IVariable[] fVariables;
        protected String fValueString;
-       /*protected*/private String fTypeName;
+       private String fTypeName;
        private boolean fhasChanged;
 
        public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) throws DebugException  {
-               super((XDebugTarget) frame.getDebugTarget());
+               super(frame == null ? null : (XDebugTarget) frame.getDebugTarget());
 
                fTypeName = PHPDebugUtils.getAttributeValue(varNode,"type");