Class SimuComProcessDebugThread
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
-
- de.uka.ipd.sdq.codegen.simucontroller.debug.SimuComProcessDebugThread
-
- All Implemented Interfaces:
IAdaptable
,IDebugElement
,IStep
,ISuspendResume
,ITerminate
,IThread
,Adapter
public class SimuComProcessDebugThread extends SimulationDebugElement implements IThread, Adapter
-
-
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 SimuComProcessDebugThread(IDebugTarget myDebugTarget, ILaunch launch, Process p)
-
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()
ILaunch
getLaunch()
String
getName()
int
getPriority()
Process
getProcess()
IStackFrame[]
getStackFrames()
Notifier
getTarget()
IStackFrame
getTopStackFrame()
boolean
hasStackFrames()
boolean
isAdapterForType(Object type)
boolean
isStepping()
boolean
isSuspended()
boolean
isTerminated()
void
notifyChanged(Notification notification)
void
resume()
void
setTarget(Notifier newTarget)
void
stepInto()
void
stepOver()
void
stepReturn()
void
suspend()
void
terminate()
-
Methods inherited from class de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
fireEvent, fireEvent, getAdapter, getDebugTarget, getModelIdentifier
-
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, getModelIdentifier
-
-
-
-
Constructor Detail
-
SimuComProcessDebugThread
public SimuComProcessDebugThread(IDebugTarget myDebugTarget, ILaunch launch, Process p)
-
-
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
-
getLaunch
public ILaunch getLaunch()
- Specified by:
getLaunch
in interfaceIDebugElement
- Overrides:
getLaunch
in classSimulationDebugElement
-
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
-
getTarget
public Notifier getTarget()
- Specified by:
getTarget
in interfaceAdapter
- Overrides:
getTarget
in classSimulationDebugElement
-
isAdapterForType
public boolean isAdapterForType(Object type)
- Specified by:
isAdapterForType
in interfaceAdapter
- Overrides:
isAdapterForType
in classSimulationDebugElement
-
notifyChanged
public void notifyChanged(Notification notification)
- Specified by:
notifyChanged
in interfaceAdapter
- Specified by:
notifyChanged
in classSimulationDebugElement
-
setTarget
public void setTarget(Notifier newTarget)
- Specified by:
setTarget
in interfaceAdapter
- Overrides:
setTarget
in classSimulationDebugElement
-
dispose
public void dispose()
-
getProcess
public Process getProcess()
-
-