Package org.eclipse.ease.debugging.model
Class EaseDebugThread
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.DebugElement
org.eclipse.ease.debugging.model.EaseDebugElement
org.eclipse.ease.debugging.model.EaseDebugThread
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.debug.core.model.IDebugElement
,org.eclipse.debug.core.model.IDisconnect
,org.eclipse.debug.core.model.IStep
,org.eclipse.debug.core.model.ISuspendResume
,org.eclipse.debug.core.model.ITerminate
,org.eclipse.debug.core.model.IThread
,IEventProcessor
public class EaseDebugThread extends EaseDebugElement implements org.eclipse.debug.core.model.IThread, IEventProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.ease.debugging.model.EaseDebugElement
EaseDebugElement.State
-
Constructor Summary
Constructors Constructor Description EaseDebugThread(EaseDebugTarget target, Object thread)
-
Method Summary
Modifier and Type Method Description boolean
canResume()
boolean
canStepInto()
boolean
canStepOver()
boolean
canStepReturn()
boolean
canSuspend()
boolean
canTerminate()
org.eclipse.debug.core.model.IBreakpoint[]
getBreakpoints()
String
getName()
int
getPriority()
org.eclipse.debug.core.model.IStackFrame[]
getStackFrames()
Object
getThread()
EaseDebugStackFrame
getTopStackFrame()
void
handleEvent(IDebugEvent event)
boolean
hasStackFrames()
boolean
isStepping()
boolean
isSuspended()
boolean
isTerminated()
void
resume()
void
resume(int type)
void
setDispatcher(EventDispatchJob dispatcher)
void
setStackFrames(List<IScriptDebugFrame> debugFrames)
void
stepInto()
void
stepOver()
void
stepReturn()
void
suspend()
void
terminate()
String
toString()
Methods inherited from class org.eclipse.ease.debugging.model.EaseDebugElement
canDisconnect, disconnect, getDebugTarget, getModelIdentifier, isDisconnected, setResumed, setSuspended
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getLaunch
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
-
Constructor Details
-
EaseDebugThread
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceorg.eclipse.debug.core.model.IThread
-
getStackFrames
public org.eclipse.debug.core.model.IStackFrame[] getStackFrames()- Specified by:
getStackFrames
in interfaceorg.eclipse.debug.core.model.IThread
-
hasStackFrames
public boolean hasStackFrames()- Specified by:
hasStackFrames
in interfaceorg.eclipse.debug.core.model.IThread
-
getTopStackFrame
- Specified by:
getTopStackFrame
in interfaceorg.eclipse.debug.core.model.IThread
-
getPriority
public int getPriority() throws org.eclipse.debug.core.DebugException- Specified by:
getPriority
in interfaceorg.eclipse.debug.core.model.IThread
- Throws:
org.eclipse.debug.core.DebugException
-
getBreakpoints
public org.eclipse.debug.core.model.IBreakpoint[] getBreakpoints()- Specified by:
getBreakpoints
in interfaceorg.eclipse.debug.core.model.IThread
-
getThread
-
setStackFrames
-
toString
-
handleEvent
- Specified by:
handleEvent
in interfaceIEventProcessor
-
setDispatcher
- Specified by:
setDispatcher
in interfaceIEventProcessor
-
canTerminate
public boolean canTerminate()- Specified by:
canTerminate
in interfaceorg.eclipse.debug.core.model.ITerminate
- Overrides:
canTerminate
in classEaseDebugElement
-
terminate
public void terminate()- Specified by:
terminate
in interfaceorg.eclipse.debug.core.model.ITerminate
- Overrides:
terminate
in classEaseDebugElement
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminated
in interfaceorg.eclipse.debug.core.model.ITerminate
- Overrides:
isTerminated
in classEaseDebugElement
-
canSuspend
public boolean canSuspend()- Specified by:
canSuspend
in interfaceorg.eclipse.debug.core.model.ISuspendResume
- Overrides:
canSuspend
in classEaseDebugElement
-
canResume
public boolean canResume()- Specified by:
canResume
in interfaceorg.eclipse.debug.core.model.ISuspendResume
- Overrides:
canResume
in classEaseDebugElement
-
isSuspended
public boolean isSuspended()- Specified by:
isSuspended
in interfaceorg.eclipse.debug.core.model.ISuspendResume
- Overrides:
isSuspended
in classEaseDebugElement
-
resume
public void resume()- Specified by:
resume
in interfaceorg.eclipse.debug.core.model.ISuspendResume
- Overrides:
resume
in classEaseDebugElement
-
resume
public void resume(int type) -
suspend
public void suspend()- Specified by:
suspend
in interfaceorg.eclipse.debug.core.model.ISuspendResume
- Overrides:
suspend
in classEaseDebugElement
-
canStepInto
public boolean canStepInto()- Specified by:
canStepInto
in interfaceorg.eclipse.debug.core.model.IStep
- Overrides:
canStepInto
in classEaseDebugElement
-
canStepOver
public boolean canStepOver()- Specified by:
canStepOver
in interfaceorg.eclipse.debug.core.model.IStep
- Overrides:
canStepOver
in classEaseDebugElement
-
canStepReturn
public boolean canStepReturn()- Specified by:
canStepReturn
in interfaceorg.eclipse.debug.core.model.IStep
- Overrides:
canStepReturn
in classEaseDebugElement
-
isStepping
public boolean isStepping()- Specified by:
isStepping
in interfaceorg.eclipse.debug.core.model.IStep
- Overrides:
isStepping
in classEaseDebugElement
-
stepInto
public void stepInto()- Specified by:
stepInto
in interfaceorg.eclipse.debug.core.model.IStep
- Overrides:
stepInto
in classEaseDebugElement
-
stepOver
public void stepOver()- Specified by:
stepOver
in interfaceorg.eclipse.debug.core.model.IStep
- Overrides:
stepOver
in classEaseDebugElement
-
stepReturn
public void stepReturn()- Specified by:
stepReturn
in interfaceorg.eclipse.debug.core.model.IStep
- Overrides:
stepReturn
in classEaseDebugElement
-