public class JavascriptThread extends DebugElementImpl.WithConnected
| Modifier and Type | Class and Description |
|---|---|
static interface |
JavascriptThread.StateVisitor<R>
Visitor that is used to describe thread state in UI.
|
static interface |
JavascriptThread.SuspendedState
Holds 'suspended' state of the thread.
|
DebugElementImpl.WithConnected, DebugElementImpl.WithConnectedBase, DebugElementImpl.WithEvaluate, DebugElementImpl.WithEvaluateBase, DebugElementImpl.WithSuspended, DebugElementImpl.WithSuspendedBase| Constructor and Description |
|---|
JavascriptThread(ConnectedTargetData connectedTargetData)
Constructs a new thread for the given target
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canResume() |
boolean |
canStepInto() |
boolean |
canStepOver() |
boolean |
canStepReturn() |
boolean |
canSuspend() |
boolean |
canTerminate() |
<R> R |
describeState(JavascriptThread.StateVisitor<R> visitor) |
java.lang.Object |
getAdapter(java.lang.Class adapter) |
IBreakpoint[] |
getBreakpoints() |
java.lang.String |
getName() |
int |
getPriority() |
StackFrameBase[] |
getStackFrames() |
IStackFrame |
getTopStackFrame() |
boolean |
hasStackFrames() |
boolean |
isStepping() |
boolean |
isSuspended() |
boolean |
isTerminated() |
void |
resume() |
void |
stepInto() |
void |
stepOver() |
void |
stepReturn() |
void |
suspend() |
void |
terminate() |
getConnectedDatagetDebugTargetgetLaunch, getModelIdentifierpublic JavascriptThread(ConnectedTargetData connectedTargetData)
connectedTargetData - this thread is created forpublic StackFrameBase[] getStackFrames() throws DebugException
DebugExceptionpublic <R> R describeState(JavascriptThread.StateVisitor<R> visitor)
public boolean hasStackFrames()
throws DebugException
DebugExceptionpublic int getPriority()
throws DebugException
DebugExceptionpublic IStackFrame getTopStackFrame()
throws DebugException
DebugExceptionpublic java.lang.String getName()
throws DebugException
DebugExceptionpublic IBreakpoint[] getBreakpoints()
public boolean canResume()
public boolean canSuspend()
public boolean isSuspended()
public void resume()
throws DebugException
DebugExceptionpublic void suspend()
throws DebugException
DebugExceptionpublic boolean canStepInto()
public boolean canStepOver()
public boolean canStepReturn()
public boolean isStepping()
public void stepInto()
throws DebugException
DebugExceptionpublic void stepOver()
throws DebugException
DebugExceptionpublic void stepReturn()
throws DebugException
DebugExceptionpublic boolean canTerminate()
public boolean isTerminated()
public void terminate()
throws DebugException
DebugExceptionpublic java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in class DebugElementImplCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.