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() |
getConnectedData
getDebugTarget
getLaunch, getModelIdentifier
public JavascriptThread(ConnectedTargetData connectedTargetData)
connectedTargetData
- this thread is created forpublic StackFrameBase[] getStackFrames() throws DebugException
DebugException
public <R> R describeState(JavascriptThread.StateVisitor<R> visitor)
public boolean hasStackFrames() throws DebugException
DebugException
public int getPriority() throws DebugException
DebugException
public IStackFrame getTopStackFrame() throws DebugException
DebugException
public java.lang.String getName() throws DebugException
DebugException
public IBreakpoint[] getBreakpoints()
public boolean canResume()
public boolean canSuspend()
public boolean isSuspended()
public void resume() throws DebugException
DebugException
public void suspend() throws DebugException
DebugException
public boolean canStepInto()
public boolean canStepOver()
public boolean canStepReturn()
public boolean isStepping()
public void stepInto() throws DebugException
DebugException
public void stepOver() throws DebugException
DebugException
public void stepReturn() throws DebugException
DebugException
public boolean canTerminate()
public boolean isTerminated()
public void terminate() throws DebugException
DebugException
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in class DebugElementImpl
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.