Class SimulationDebugTarget
java.lang.Object
org.eclipse.core.runtime.PlatformObject
de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugTarget
- All Implemented Interfaces:
Observer
,IAdaptable
,IBreakpointListener
,IDebugElement
,IDebugTarget
,IDisconnect
,IMemoryBlockRetrieval
,ISuspendResume
,ITerminate
,Adapter
Class to support SimuCom debugging interactions
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
breakpointAdded
(IBreakpoint breakpoint) void
breakpointChanged
(IBreakpoint breakpoint, IMarkerDelta delta) void
breakpointRemoved
(IBreakpoint breakpoint, IMarkerDelta delta) boolean
boolean
boolean
boolean
void
void
dispose()
getMemoryBlock
(long startAddress, long length) getName()
IThread[]
boolean
boolean
boolean
boolean
void
notifyChanged
(Notification notification) void
resume()
boolean
supportsBreakpoint
(IBreakpoint breakpoint) boolean
void
suspend()
void
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 Details
-
SimulationDebugTarget
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceIDebugTarget
- Throws:
DebugException
-
getProcess
- Specified by:
getProcess
in interfaceIDebugTarget
-
getThreads
- Specified by:
getThreads
in interfaceIDebugTarget
- Throws:
DebugException
-
hasThreads
- Specified by:
hasThreads
in interfaceIDebugTarget
- Throws:
DebugException
-
supportsBreakpoint
- Specified by:
supportsBreakpoint
in interfaceIDebugTarget
-
canTerminate
public boolean canTerminate()- Specified by:
canTerminate
in interfaceITerminate
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminated
in interfaceITerminate
-
terminate
- Specified by:
terminate
in interfaceITerminate
- 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
- Specified by:
resume
in interfaceISuspendResume
- Throws:
DebugException
-
suspend
- Specified by:
suspend
in interfaceISuspendResume
- Throws:
DebugException
-
breakpointAdded
- Specified by:
breakpointAdded
in interfaceIBreakpointListener
-
breakpointChanged
- Specified by:
breakpointChanged
in interfaceIBreakpointListener
-
breakpointRemoved
- Specified by:
breakpointRemoved
in interfaceIBreakpointListener
-
canDisconnect
public boolean canDisconnect()- Specified by:
canDisconnect
in interfaceIDisconnect
-
disconnect
- Specified by:
disconnect
in interfaceIDisconnect
- Throws:
DebugException
-
isDisconnected
public boolean isDisconnected()- Specified by:
isDisconnected
in interfaceIDisconnect
-
getMemoryBlock
- Specified by:
getMemoryBlock
in interfaceIMemoryBlockRetrieval
- Throws:
DebugException
-
supportsStorageRetrieval
public boolean supportsStorageRetrieval()- Specified by:
supportsStorageRetrieval
in interfaceIMemoryBlockRetrieval
-
dispose
public void dispose() -
update
-
notifyChanged
- Specified by:
notifyChanged
in interfaceAdapter
- Specified by:
notifyChanged
in classSimulationDebugElement
-