Package org.eclipse.m2m.atl.debug.core
Class AtlThread
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.m2m.atl.debug.core.AtlDebugElement
org.eclipse.m2m.atl.debug.core.AtlThread
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.debug.core.model.IDebugElement,org.eclipse.debug.core.model.IStep,org.eclipse.debug.core.model.ISuspendResume,org.eclipse.debug.core.model.ITerminate,org.eclipse.debug.core.model.IThread
The ATL thread definition (for debug).
-
Field Summary
Fields inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
fTarget -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanorg.eclipse.debug.core.model.IBreakpoint[]org.eclipse.debug.core.model.IDebugTargetorg.eclipse.debug.core.ILaunchgetName()intorg.eclipse.debug.core.model.IStackFrame[]org.eclipse.debug.core.model.IStackFramebooleanbooleanbooleanbooleanvoidresume()voidsetStackFrames(AtlStackFrame[] frames) This method allow to update the array of stackFrames.voidstepInto()voidstepOver()voidvoidsuspend()voidMethods inherited from class org.eclipse.m2m.atl.debug.core.AtlDebugElement
abort, getAdapter, getModelIdentifierMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.debug.core.model.IDebugElement
getModelIdentifier
-
Constructor Details
-
AtlThread
COnstructor.- Parameters:
name- the thread nameatlDT- the debug target
-
-
Method Details
-
getStackFrames
public org.eclipse.debug.core.model.IStackFrame[] getStackFrames() throws org.eclipse.debug.core.DebugException- Specified by:
getStackFramesin interfaceorg.eclipse.debug.core.model.IThread- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
hasStackFrames
public boolean hasStackFrames() throws org.eclipse.debug.core.DebugException- Specified by:
hasStackFramesin interfaceorg.eclipse.debug.core.model.IThread- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
getPriority
public int getPriority() throws org.eclipse.debug.core.DebugException- Specified by:
getPriorityin interfaceorg.eclipse.debug.core.model.IThread- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
getTopStackFrame
public org.eclipse.debug.core.model.IStackFrame getTopStackFrame() throws org.eclipse.debug.core.DebugException- Specified by:
getTopStackFramein interfaceorg.eclipse.debug.core.model.IThread- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
getName
- Specified by:
getNamein interfaceorg.eclipse.debug.core.model.IThread- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
getBreakpoints
public org.eclipse.debug.core.model.IBreakpoint[] getBreakpoints()- Specified by:
getBreakpointsin interfaceorg.eclipse.debug.core.model.IThread- See Also:
-
getDebugTarget
public org.eclipse.debug.core.model.IDebugTarget getDebugTarget()- Specified by:
getDebugTargetin interfaceorg.eclipse.debug.core.model.IDebugElement- Overrides:
getDebugTargetin classAtlDebugElement- See Also:
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()- Specified by:
getLaunchin interfaceorg.eclipse.debug.core.model.IDebugElement- Overrides:
getLaunchin classAtlDebugElement- See Also:
-
canResume
public boolean canResume()- Specified by:
canResumein interfaceorg.eclipse.debug.core.model.ISuspendResume- See Also:
-
canSuspend
public boolean canSuspend()- Specified by:
canSuspendin interfaceorg.eclipse.debug.core.model.ISuspendResume- See Also:
-
isSuspended
public boolean isSuspended()- Specified by:
isSuspendedin interfaceorg.eclipse.debug.core.model.ISuspendResume- See Also:
-
resume
public void resume() throws org.eclipse.debug.core.DebugException- Specified by:
resumein interfaceorg.eclipse.debug.core.model.ISuspendResume- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
suspend
public void suspend() throws org.eclipse.debug.core.DebugException- Specified by:
suspendin interfaceorg.eclipse.debug.core.model.ISuspendResume- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
canStepInto
public boolean canStepInto()- Specified by:
canStepIntoin interfaceorg.eclipse.debug.core.model.IStep- See Also:
-
canStepOver
public boolean canStepOver()- Specified by:
canStepOverin interfaceorg.eclipse.debug.core.model.IStep- See Also:
-
canStepReturn
public boolean canStepReturn()- Specified by:
canStepReturnin interfaceorg.eclipse.debug.core.model.IStep- See Also:
-
isStepping
public boolean isStepping()- Specified by:
isSteppingin interfaceorg.eclipse.debug.core.model.IStep- See Also:
-
stepInto
public void stepInto() throws org.eclipse.debug.core.DebugException- Specified by:
stepIntoin interfaceorg.eclipse.debug.core.model.IStep- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
stepOver
public void stepOver() throws org.eclipse.debug.core.DebugException- Specified by:
stepOverin interfaceorg.eclipse.debug.core.model.IStep- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
stepReturn
public void stepReturn() throws org.eclipse.debug.core.DebugException- Specified by:
stepReturnin interfaceorg.eclipse.debug.core.model.IStep- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
canTerminate
public boolean canTerminate()- Specified by:
canTerminatein interfaceorg.eclipse.debug.core.model.ITerminate- See Also:
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceorg.eclipse.debug.core.model.ITerminate- See Also:
-
terminate
public void terminate() throws org.eclipse.debug.core.DebugException- Specified by:
terminatein interfaceorg.eclipse.debug.core.model.ITerminate- Throws:
org.eclipse.debug.core.DebugException- See Also:
-
setStackFrames
This method allow to update the array of stackFrames.- Parameters:
frames- the frames to update
-