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
*
* Window - Preferences - Java - Code Style - Code Templates
*/
public class XDebugVariable extends XDebugElement implements IVariable/*, IWatchExpressionFactoryAdapter*/ {
- public static final int VARTYPE_UNKNOWN = -1;
+ /*public static final int VARTYPE_UNKNOWN = -1;
public static final int VARTYPE_UNINITIALIZED = 0;
public static final int VARTYPE_STRING = 1;
public static final int VARTYPE_INT = 2;
public static final int VARTYPE_ARRAY = 8;
public static final int VARTYPE_HASH = 9;
public static final int VARTYPE_OBJECT = 10;
- public static final int VARTYPE_RESOURCE = 11;
+ public static final int VARTYPE_RESOURCE = 11;*/
private int fNumChildren;
private String fName;
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);
}
return fFrame;
}
- public void setStackFrame(XDebugStackFrame frame) {
- fFrame = frame;
- super.setDebugTarget((XDebugTarget) frame.getDebugTarget());
- }
-
// public int getType() {
// return fType;
// }
}
public String toString() {
- return fValue.toString();
+ return null;
}
public String getFullName() {