public class VMThread extends VMDebugElement implements org.eclipse.debug.core.model.IThread, VMEventListener
Constructor and Description |
---|
VMThread(IVMDebugTarget target) |
Modifier and Type | Method and Description |
---|---|
boolean |
canResume() |
boolean |
canStepInto() |
boolean |
canStepOver() |
boolean |
canStepReturn() |
boolean |
canSuspend() |
boolean |
canTerminate() |
org.eclipse.debug.core.model.IBreakpoint[] |
getBreakpoints() |
VMDebugCore |
getDebugCore() |
java.lang.String |
getName() |
int |
getPriority() |
org.eclipse.debug.core.model.IStackFrame[] |
getStackFrames() |
org.eclipse.debug.core.model.IStackFrame |
getTopStackFrame() |
void |
handleEvent(VMEvent event) |
boolean |
hasStackFrames() |
boolean |
isDeferredExecution() |
boolean |
isStepping() |
boolean |
isSuspended() |
boolean |
isTerminated() |
void |
resume() |
void |
stepInto() |
void |
stepOver() |
void |
stepReturn() |
void |
suspend() |
void |
terminate() |
getModelIdentifier, getOCLDebugTarget
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch, notSupported, requestFailed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public VMThread(IVMDebugTarget target)
public boolean isDeferredExecution()
public boolean hasStackFrames() throws org.eclipse.debug.core.DebugException
hasStackFrames
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IStackFrame[] getStackFrames() throws org.eclipse.debug.core.DebugException
getStackFrames
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
@NonNull public VMDebugCore getDebugCore()
getDebugCore
in class VMDebugElement
public int getPriority() throws org.eclipse.debug.core.DebugException
getPriority
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IStackFrame getTopStackFrame() throws org.eclipse.debug.core.DebugException
getTopStackFrame
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public java.lang.String getName() throws org.eclipse.debug.core.DebugException
getName
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IBreakpoint[] getBreakpoints()
getBreakpoints
in interface org.eclipse.debug.core.model.IThread
public boolean canResume()
canResume
in interface org.eclipse.debug.core.model.ISuspendResume
public boolean canSuspend()
canSuspend
in interface org.eclipse.debug.core.model.ISuspendResume
public boolean isSuspended()
isSuspended
in interface org.eclipse.debug.core.model.ISuspendResume
public void resume() throws org.eclipse.debug.core.DebugException
resume
in interface org.eclipse.debug.core.model.ISuspendResume
org.eclipse.debug.core.DebugException
public void suspend() throws org.eclipse.debug.core.DebugException
suspend
in interface org.eclipse.debug.core.model.ISuspendResume
org.eclipse.debug.core.DebugException
public boolean canStepInto()
canStepInto
in interface org.eclipse.debug.core.model.IStep
public void stepInto() throws org.eclipse.debug.core.DebugException
stepInto
in interface org.eclipse.debug.core.model.IStep
org.eclipse.debug.core.DebugException
public boolean canStepOver()
canStepOver
in interface org.eclipse.debug.core.model.IStep
public void stepOver() throws org.eclipse.debug.core.DebugException
stepOver
in interface org.eclipse.debug.core.model.IStep
org.eclipse.debug.core.DebugException
public boolean canStepReturn()
canStepReturn
in interface org.eclipse.debug.core.model.IStep
public void stepReturn() throws org.eclipse.debug.core.DebugException
stepReturn
in interface org.eclipse.debug.core.model.IStep
org.eclipse.debug.core.DebugException
public boolean isStepping()
isStepping
in interface org.eclipse.debug.core.model.IStep
public boolean canTerminate()
canTerminate
in interface org.eclipse.debug.core.model.ITerminate
public boolean isTerminated()
isTerminated
in interface org.eclipse.debug.core.model.ITerminate
public void terminate() throws org.eclipse.debug.core.DebugException
terminate
in interface org.eclipse.debug.core.model.ITerminate
org.eclipse.debug.core.DebugException
public void handleEvent(VMEvent event)
handleEvent
in interface VMEventListener