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 booleancanResume()booleancanStepInto()booleancanStepOver()booleancanStepReturn()booleancanSuspend()booleancanTerminate()voiddispose()IBreakpoint[]getBreakpoints()StringgetName()intgetPriority()IStackFrame[]getStackFrames()IStackFramegetTopStackFrame()booleanhasStackFrames()booleanisStepping()booleanisSuspended()booleanisTerminated()voidnotifyChanged(Notification notification)voidresume()voidsetSimControl(SimulationDockService service)voidstepInto()voidstepOver()voidstepReturn()voidsuspend()voidterminate()voidupdate(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:
getBreakpointsin interfaceIThread
-
getName
public String getName() throws DebugException
- Specified by:
getNamein interfaceIThread- Throws:
DebugException
-
getPriority
public int getPriority() throws DebugException- Specified by:
getPriorityin interfaceIThread- Throws:
DebugException
-
getStackFrames
public IStackFrame[] getStackFrames() throws DebugException
- Specified by:
getStackFramesin interfaceIThread- Throws:
DebugException
-
getTopStackFrame
public IStackFrame getTopStackFrame() throws DebugException
- Specified by:
getTopStackFramein interfaceIThread- Throws:
DebugException
-
hasStackFrames
public boolean hasStackFrames() throws DebugException- Specified by:
hasStackFramesin interfaceIThread- Throws:
DebugException
-
canResume
public boolean canResume()
- Specified by:
canResumein interfaceISuspendResume
-
canSuspend
public boolean canSuspend()
- Specified by:
canSuspendin interfaceISuspendResume
-
isSuspended
public boolean isSuspended()
- Specified by:
isSuspendedin interfaceISuspendResume
-
resume
public void resume() throws DebugException- Specified by:
resumein interfaceISuspendResume- Throws:
DebugException
-
suspend
public void suspend() throws DebugException- Specified by:
suspendin interfaceISuspendResume- Throws:
DebugException
-
canStepInto
public boolean canStepInto()
- Specified by:
canStepIntoin interfaceIStep
-
canStepOver
public boolean canStepOver()
- Specified by:
canStepOverin interfaceIStep
-
canStepReturn
public boolean canStepReturn()
- Specified by:
canStepReturnin interfaceIStep
-
isStepping
public boolean isStepping()
- Specified by:
isSteppingin interfaceIStep
-
stepInto
public void stepInto() throws DebugException- Specified by:
stepIntoin interfaceIStep- Throws:
DebugException
-
stepOver
public void stepOver() throws DebugException- Specified by:
stepOverin interfaceIStep- Throws:
DebugException
-
stepReturn
public void stepReturn() throws DebugException- Specified by:
stepReturnin interfaceIStep- Throws:
DebugException
-
canTerminate
public boolean canTerminate()
- Specified by:
canTerminatein interfaceITerminate
-
isTerminated
public boolean isTerminated()
- Specified by:
isTerminatedin interfaceITerminate
-
terminate
public void terminate() throws DebugException- Specified by:
terminatein 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:
notifyChangedin interfaceAdapter- Specified by:
notifyChangedin classSimulationDebugElement
-
-