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
public class SimulationDebugTarget extends SimulationDebugElement implements IDebugTarget, Observer
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 Constructor Description SimulationDebugTarget(ILaunch launch, DockModel dock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbreakpointAdded(IBreakpoint breakpoint)voidbreakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta)voidbreakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta)booleancanDisconnect()booleancanResume()booleancanSuspend()booleancanTerminate()voiddisconnect()voiddispose()IMemoryBlockgetMemoryBlock(long startAddress, long length)StringgetName()IProcessgetProcess()IThread[]getThreads()booleanhasThreads()booleanisDisconnected()booleanisSuspended()booleanisTerminated()voidnotifyChanged(Notification notification)voidresume()booleansupportsBreakpoint(IBreakpoint breakpoint)booleansupportsStorageRetrieval()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
-
-
-
-
Method Detail
-
getName
public String getName() throws DebugException
- Specified by:
getNamein interfaceIDebugTarget- Throws:
DebugException
-
getProcess
public IProcess getProcess()
- Specified by:
getProcessin interfaceIDebugTarget
-
getThreads
public IThread[] getThreads() throws DebugException
- Specified by:
getThreadsin interfaceIDebugTarget- Throws:
DebugException
-
hasThreads
public boolean hasThreads() throws DebugException- Specified by:
hasThreadsin interfaceIDebugTarget- Throws:
DebugException
-
supportsBreakpoint
public boolean supportsBreakpoint(IBreakpoint breakpoint)
- Specified by:
supportsBreakpointin interfaceIDebugTarget
-
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
-
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
-
breakpointAdded
public void breakpointAdded(IBreakpoint breakpoint)
- Specified by:
breakpointAddedin interfaceIBreakpointListener
-
breakpointChanged
public void breakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta)
- Specified by:
breakpointChangedin interfaceIBreakpointListener
-
breakpointRemoved
public void breakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta)
- Specified by:
breakpointRemovedin interfaceIBreakpointListener
-
canDisconnect
public boolean canDisconnect()
- Specified by:
canDisconnectin interfaceIDisconnect
-
disconnect
public void disconnect() throws DebugException- Specified by:
disconnectin interfaceIDisconnect- Throws:
DebugException
-
isDisconnected
public boolean isDisconnected()
- Specified by:
isDisconnectedin interfaceIDisconnect
-
getMemoryBlock
public IMemoryBlock getMemoryBlock(long startAddress, long length) throws DebugException
- Specified by:
getMemoryBlockin interfaceIMemoryBlockRetrieval- Throws:
DebugException
-
supportsStorageRetrieval
public boolean supportsStorageRetrieval()
- Specified by:
supportsStorageRetrievalin interfaceIMemoryBlockRetrieval
-
dispose
public void dispose()
-
update
public void update(Observable o, Object arg)
-
notifyChanged
public void notifyChanged(Notification notification)
- Specified by:
notifyChangedin interfaceAdapter- Specified by:
notifyChangedin classSimulationDebugElement
-
-