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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbreakpointAdded(IBreakpoint breakpoint) voidbreakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta) voidbreakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta) booleanbooleanbooleanbooleanvoidvoiddispose()getMemoryBlock(long startAddress, long length) getName()IThread[]booleanbooleanbooleanbooleanvoidnotifyChanged(Notification notification) voidresume()booleansupportsBreakpoint(IBreakpoint breakpoint) booleanvoidsuspend()voidvoidupdate(Observable o, Object arg) Methods inherited from class de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
fireEvent, fireEvent, getAdapter, getDebugTarget, getLaunch, getModelIdentifier, getTarget, isAdapterForType, setTargetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
-
Constructor Details
-
SimulationDebugTarget
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceIDebugTarget- Throws:
DebugException
-
getProcess
- Specified by:
getProcessin interfaceIDebugTarget
-
getThreads
- Specified by:
getThreadsin interfaceIDebugTarget- Throws:
DebugException
-
hasThreads
- Specified by:
hasThreadsin interfaceIDebugTarget- Throws:
DebugException
-
supportsBreakpoint
- Specified by:
supportsBreakpointin interfaceIDebugTarget
-
canTerminate
public boolean canTerminate()- Specified by:
canTerminatein interfaceITerminate
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceITerminate
-
terminate
- Specified by:
terminatein interfaceITerminate- 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
- Specified by:
resumein interfaceISuspendResume- Throws:
DebugException
-
suspend
- Specified by:
suspendin interfaceISuspendResume- Throws:
DebugException
-
breakpointAdded
- Specified by:
breakpointAddedin interfaceIBreakpointListener
-
breakpointChanged
- Specified by:
breakpointChangedin interfaceIBreakpointListener
-
breakpointRemoved
- Specified by:
breakpointRemovedin interfaceIBreakpointListener
-
canDisconnect
public boolean canDisconnect()- Specified by:
canDisconnectin interfaceIDisconnect
-
disconnect
- Specified by:
disconnectin interfaceIDisconnect- Throws:
DebugException
-
isDisconnected
public boolean isDisconnected()- Specified by:
isDisconnectedin interfaceIDisconnect
-
getMemoryBlock
- Specified by:
getMemoryBlockin interfaceIMemoryBlockRetrieval- Throws:
DebugException
-
supportsStorageRetrieval
public boolean supportsStorageRetrieval()- Specified by:
supportsStorageRetrievalin interfaceIMemoryBlockRetrieval
-
dispose
public void dispose() -
update
-
notifyChanged
- Specified by:
notifyChangedin interfaceAdapter- Specified by:
notifyChangedin classSimulationDebugElement
-