|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadReference
Abstract description of a thread
Field Summary | |
---|---|
static int |
THREAD_STATUS_MONITOR
Constant indicating the thread is holding a monitor Value is: 3 |
static int |
THREAD_STATUS_NOT_STARTED
Constant indicating the thread has not been started Value is: 5 |
static int |
THREAD_STATUS_RUNNING
Constant indicating the thread is in a running state Value is: 1 |
static int |
THREAD_STATUS_SLEEPING
Constant indicating the thread is in a sleeping state Value is: 2 |
static int |
THREAD_STATUS_UNKNOWN
Constant indicating the state of the thread is unknown Value is: -1 |
static int |
THREAD_STATUS_WAIT
Constant indicating the thread is waiting for a monitor Value is: 4 |
static int |
THREAD_STATUS_ZOMBIE
Constant indicating the thread is in a zombie state Value is: 0 |
Method Summary | |
---|---|
StackFrame |
frame(int index)
Returns the stack frame for the given index in this thread. |
int |
frameCount()
Returns the total stack frame count for this thread |
List |
frames()
Returns the live list of stack frames for this thread. |
void |
interrupt()
Send a request to interrupt this threads' execution. |
boolean |
isAtBreakpoint()
Returns whether or not this thread is currently suspended on a breakpoint. |
boolean |
isSuspended()
Returns if this thread is currently in a suspended state. |
String |
name()
Returns the simple name of this thread. |
void |
resume()
Sends a request to resume this thread, iff it is in the suspended state. |
int |
status()
Returns the status of this thread. |
void |
suspend()
Sends a request to suspend this thread, iff it is not already in a suspended state. |
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.Mirror |
---|
virtualMachine |
Field Detail |
---|
static final int THREAD_STATUS_UNKNOWN
-1
static final int THREAD_STATUS_ZOMBIE
0
static final int THREAD_STATUS_RUNNING
1
static final int THREAD_STATUS_SLEEPING
2
static final int THREAD_STATUS_MONITOR
3
static final int THREAD_STATUS_WAIT
4
static final int THREAD_STATUS_NOT_STARTED
5
Method Detail |
---|
int frameCount()
StackFrame frame(int index)
null
null
List frames()
null
null
void interrupt()
void resume()
void suspend()
int status()
THREAD_STATUS_MONITOR
,
THREAD_STATUS_NOT_STARTED
,
THREAD_STATUS_RUNNING
,
THREAD_STATUS_SLEEPING
,
THREAD_STATUS_UNKNOWN
,
THREAD_STATUS_WAIT
,
THREAD_STATUS_ZOMBIE
boolean isAtBreakpoint()
true
if the thread is suspended on a breakpoint false
otherwiseboolean isSuspended()
true
if the thread is suspended false
otherwiseString name()
null
null
|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |