Class SimulationDebugThread
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
-
- de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugThread
-
- All Implemented Interfaces:
Observer
,IAdaptable
,IDebugElement
,IStep
,ISuspendResume
,ITerminate
,IThread
,Adapter
public class SimulationDebugThread extends SimulationDebugElement implements IThread, Observer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
launch, myDebugTarget
-
-
Constructor Summary
Constructors Constructor Description SimulationDebugThread(IDebugTarget myDebugTarget, ILaunch launch, DockModel dock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canResume()
boolean
canStepInto()
boolean
canStepOver()
boolean
canStepReturn()
boolean
canSuspend()
boolean
canTerminate()
void
dispose()
IBreakpoint[]
getBreakpoints()
String
getName()
int
getPriority()
IStackFrame[]
getStackFrames()
IStackFrame
getTopStackFrame()
boolean
hasStackFrames()
boolean
isStepping()
boolean
isSuspended()
boolean
isTerminated()
void
notifyChanged(Notification notification)
void
resume()
void
setSimControl(SimulationDockService service)
void
stepInto()
void
stepOver()
void
stepReturn()
void
suspend()
void
terminate()
void
update(Observable o, Object arg)
-
Methods inherited from class de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
fireEvent, fireEvent, getAdapter, getDebugTarget, getLaunch, getModelIdentifier, getTarget, isAdapterForType, setTarget
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
-
-
-
-
Constructor Detail
-
SimulationDebugThread
public SimulationDebugThread(IDebugTarget myDebugTarget, ILaunch launch, DockModel dock)
-
-
Method Detail
-
getBreakpoints
public IBreakpoint[] getBreakpoints()
- Specified by:
getBreakpoints
in interfaceIThread
-
getName
public String getName() throws DebugException
- Specified by:
getName
in interfaceIThread
- Throws:
DebugException
-
getPriority
public int getPriority() throws DebugException
- Specified by:
getPriority
in interfaceIThread
- Throws:
DebugException
-
getStackFrames
public IStackFrame[] getStackFrames() throws DebugException
- Specified by:
getStackFrames
in interfaceIThread
- Throws:
DebugException
-
getTopStackFrame
public IStackFrame getTopStackFrame() throws DebugException
- Specified by:
getTopStackFrame
in interfaceIThread
- Throws:
DebugException
-
hasStackFrames
public boolean hasStackFrames() throws DebugException
- Specified by:
hasStackFrames
in interfaceIThread
- Throws:
DebugException
-
canResume
public boolean canResume()
- Specified by:
canResume
in interfaceISuspendResume
-
canSuspend
public boolean canSuspend()
- Specified by:
canSuspend
in interfaceISuspendResume
-
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended
in interfaceISuspendResume
-
resume
public void resume() throws DebugException
- Specified by:
resume
in interfaceISuspendResume
- Throws:
DebugException
-
suspend
public void suspend() throws DebugException
- Specified by:
suspend
in interfaceISuspendResume
- Throws:
DebugException
-
canStepInto
public boolean canStepInto()
- Specified by:
canStepInto
in interfaceIStep
-
canStepOver
public boolean canStepOver()
- Specified by:
canStepOver
in interfaceIStep
-
canStepReturn
public boolean canStepReturn()
- Specified by:
canStepReturn
in interfaceIStep
-
isStepping
public boolean isStepping()
- Specified by:
isStepping
in interfaceIStep
-
stepInto
public void stepInto() throws DebugException
- Specified by:
stepInto
in interfaceIStep
- Throws:
DebugException
-
stepOver
public void stepOver() throws DebugException
- Specified by:
stepOver
in interfaceIStep
- Throws:
DebugException
-
stepReturn
public void stepReturn() throws DebugException
- Specified by:
stepReturn
in interfaceIStep
- Throws:
DebugException
-
canTerminate
public boolean canTerminate()
- Specified by:
canTerminate
in interfaceITerminate
-
isTerminated
public boolean isTerminated()
- Specified by:
isTerminated
in interfaceITerminate
-
terminate
public void terminate() throws DebugException
- Specified by:
terminate
in interfaceITerminate
- Throws:
DebugException
-
setSimControl
public void setSimControl(SimulationDockService service)
-
update
public void update(Observable o, Object arg)
-
dispose
public void dispose()
-
notifyChanged
public void notifyChanged(Notification notification)
- Specified by:
notifyChanged
in interfaceAdapter
- Specified by:
notifyChanged
in classSimulationDebugElement
-
-