|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A thread is a sequential flow of execution in a debug target. A thread contains stack frames. Stack frames are only available when the thread is suspended, and are returned in top-down order. Minimally, a thread supports the following:
Clients may implement this interface.
ISuspendResume
,
IStep
,
ITerminate
,
IStackFrame
Method Summary | |
IBreakpoint[] |
getBreakpoints()
Returns the breakpoints that caused this thread to suspend, or an empty collection if this thread is not suspended or was not suspended by a breakpoint. |
String |
getName()
Returns the name of this thread. |
int |
getPriority()
Returns the priority of this thread. |
IStackFrame[] |
getStackFrames()
Returns the stack frames contained in this thread. |
IStackFrame |
getTopStackFrame()
Returns the top stack frame or null if there is
currently no top stack frame. |
boolean |
hasStackFrames()
Returns whether this thread currently contains any stack frames. |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume |
canResume, canSuspend, isSuspended, resume, suspend |
Methods inherited from interface org.eclipse.debug.core.model.IStep |
canStepInto, canStepOver, canStepReturn, isStepping, stepInto, stepOver, stepReturn |
Methods inherited from interface org.eclipse.debug.core.model.ITerminate |
canTerminate, isTerminated, terminate |
Method Detail |
public IStackFrame[] getStackFrames() throws DebugException
DebugException
- if this method fails. Reasons include:
public boolean hasStackFrames() throws DebugException
DebugException
- if this method fails. Reasons include:
public int getPriority() throws DebugException
DebugException
- if this method fails. Reasons include:
public IStackFrame getTopStackFrame() throws DebugException
null
if there is
currently no top stack frame.
null
if none
DebugException
- if this method fails. Reasons include:
public String getName() throws DebugException
DebugException
- if this method fails. Reasons include:
public IBreakpoint[] getBreakpoints()
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |