|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.DebugElement
com.pvx.ooadide.launchers.debug.model.PVXDebugElement
com.pvx.ooadide.launchers.debug.model.PVXThread
public class PVXThread
// * A y VM thread. A PVX VM is single threaded.
Constructor Summary | |
---|---|
PVXThread(PVXDebugTarget target)
Constructs a new thread for the given target |
Method Summary | |
---|---|
boolean |
canPop()
Returns whether this thread can pop the top stack frame. |
boolean |
canResume()
|
boolean |
canStepInto()
|
boolean |
canStepOver()
|
boolean |
canStepReturn()
|
boolean |
canSuspend()
|
boolean |
canTerminate()
|
org.eclipse.debug.core.model.IBreakpoint[] |
getBreakpoints()
|
java.lang.Object |
getError()
Returns the most revent error event encountered since the last suspend, or null if none. |
java.lang.String |
getName()
|
int |
getPriority()
|
org.eclipse.debug.core.model.IStackFrame[] |
getStackFrames()
|
org.eclipse.debug.core.model.IStackFrame |
getTopStackFrame()
|
void |
handleEvent(java.lang.String event)
Notification the given event occurred in the target program being interpretted. |
boolean |
hasStackFrames()
|
boolean |
isStepping()
|
boolean |
isSuspended()
|
boolean |
isTerminated()
|
void |
pop()
Pops the top frame off the callstack. |
void |
resume()
|
void |
stepInto()
|
void |
stepOver()
|
void |
stepReturn()
|
void |
suspend()
|
void |
suspendedBy(org.eclipse.debug.core.model.IBreakpoint breakpoint)
Notifies this thread it has been suspended by the given breakpoint. |
void |
terminate()
|
Methods inherited from class com.pvx.ooadide.launchers.debug.model.PVXDebugElement |
---|
getModelIdentifier, sendRequest |
Methods inherited from class org.eclipse.debug.core.model.DebugElement |
---|
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
---|
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Constructor Detail |
---|
public PVXThread(PVXDebugTarget target)
target
- VMMethod Detail |
---|
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
public boolean hasStackFrames() throws org.eclipse.debug.core.DebugException
hasStackFrames
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
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()
getName
in interface org.eclipse.debug.core.model.IThread
public org.eclipse.debug.core.model.IBreakpoint[] getBreakpoints()
getBreakpoints
in interface org.eclipse.debug.core.model.IThread
public void suspendedBy(org.eclipse.debug.core.model.IBreakpoint breakpoint)
breakpoint
- breakpointpublic 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 boolean canStepOver()
canStepOver
in interface org.eclipse.debug.core.model.IStep
public boolean canStepReturn()
canStepReturn
in interface org.eclipse.debug.core.model.IStep
public boolean isStepping()
isStepping
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 void stepOver() throws org.eclipse.debug.core.DebugException
stepOver
in interface org.eclipse.debug.core.model.IStep
org.eclipse.debug.core.DebugException
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 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 java.lang.Object getError()
null
if none.
null
if nonepublic void handleEvent(java.lang.String event)
IPVXEventListener
handleEvent
in interface IPVXEventListener
event
- the eventpublic void pop() throws org.eclipse.debug.core.DebugException
org.eclipse.debug.core.DebugException
public boolean canPop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |