|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IThread
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 |
|---|
IStackFrame[] getStackFrames()
throws DebugException
DebugException - if this method fails. Reasons include:
boolean hasStackFrames()
throws DebugException
DebugException - if this method fails. Reasons include:
int getPriority()
throws DebugException
DebugException - if this method fails. Reasons include:
IStackFrame getTopStackFrame()
throws DebugException
null if there is
currently no top stack frame.
null if none
DebugException - if this method fails. Reasons include:
String getName()
throws DebugException
DebugException - if this method fails. Reasons include:
IBreakpoint[] getBreakpoints()
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.