X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugVariable.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugVariable.java index 8a563cf..9c289a0 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugVariable.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugVariable.java @@ -14,7 +14,7 @@ import org.eclipse.debug.core.DebugEvent; import org.eclipse.debug.core.model.IValue; import org.eclipse.debug.core.model.IVariable; import org.w3c.dom.Node; -import org.eclipse.debug.core.model.IWatchExpressionDelegate; +//import org.eclipse.debug.core.model.IWatchExpressionDelegate; /** * @author Axel * @@ -88,6 +88,8 @@ public class XDebugVariable extends XDebugElement implements IVariable/*, IWatc fValue= new XDebugArrayValue(this,property,typeName); else if (typeName.equals("object") ) fValue= new XDebugArrayValue(this,property,typeName); + else if (typeName.equals("resource") ) + fValue= new XDebugResourceValue(this, property, typeName); else fValue= new XDebugValue(this,property,typeName); } @@ -208,7 +210,7 @@ public class XDebugVariable extends XDebugElement implements IVariable/*, IWatc } public String toString() { - return fValue.toString(); + return null; } public String getFullName() {