//import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.PlatformObject;
import org.eclipse.debug.core.DebugEvent;
-import org.eclipse.debug.core.DebugException;
+//import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.model.IDebugElement;
public class XDebugElement extends PlatformObject implements IDebugElement {
// containing target
- protected XDebugTarget fTarget;
+ protected/*private*/ XDebugTarget fTarget;
/**
* Constructs a new debug element contained in the given
return fTarget;
}
- public void setDebugTarget(XDebugTarget target) {
- fTarget=target;
- }
-
/* (non-Javadoc)
* @see org.eclipse.debug.core.model.IDebugElement#getLaunch()
*/
return super.getAdapter(adapter);
}
- protected void abort(String message, Throwable e) throws DebugException {
+ //protected void abort(String message, Throwable e) throws DebugException {
/* Axel auskommentiert
throw new DebugException(new Status(IStatus.ERROR, DebugExamplesPlugin.getDefault().getDescriptor().getUniqueIdentifier(),
DebugPlugin.INTERNAL_ERROR, message, e));
*/
- }
+ //}
/**
* Fires a debug event
* 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;
return fFrame;
}
- public void setStackFrame(XDebugStackFrame frame) {
- fFrame = frame;
- super.setDebugTarget((XDebugTarget) frame.getDebugTarget());
- }
-
// public int getType() {
// return fType;
// }