public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminate
Clients may implement this interface.
ISuspendResume
,
IStep
,
ITerminate
,
IStackFrame
Modifier and Type | Method and Description |
---|---|
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.
|
getDebugTarget, getLaunch, getModelIdentifier
getAdapter
canResume, canSuspend, isSuspended, resume, suspend
canStepInto, canStepOver, canStepReturn, isStepping, stepInto, stepOver, stepReturn
canTerminate, isTerminated, terminate
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 noneDebugException
- if this method fails. Reasons include:
String getName() throws DebugException
DebugException
- if this method fails. Reasons include:
IBreakpoint[] getBreakpoints()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.