Package org.eclipse.ease.debugging.model
Class EaseDebugTarget
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.DebugElement
org.eclipse.ease.debugging.model.EaseDebugElement
org.eclipse.ease.debugging.model.EaseDebugTarget
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.debug.core.IBreakpointListener
,org.eclipse.debug.core.model.IDebugElement
,org.eclipse.debug.core.model.IDebugTarget
,org.eclipse.debug.core.model.IDisconnect
,org.eclipse.debug.core.model.IMemoryBlockRetrieval
,org.eclipse.debug.core.model.IStep
,org.eclipse.debug.core.model.ISuspendResume
,org.eclipse.debug.core.model.ITerminate
,IEventProcessor
- Direct Known Subclasses:
PythonDebugTarget
public abstract class EaseDebugTarget extends EaseDebugElement implements org.eclipse.debug.core.model.IDebugTarget, IEventProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.ease.debugging.model.EaseDebugElement
EaseDebugElement.State
-
Constructor Summary
Constructors Constructor Description EaseDebugTarget(org.eclipse.debug.core.ILaunch launch, boolean suspendOnStartup, boolean suspendOnScriptLoad, boolean showDynamicCode)
-
Method Summary
Modifier and Type Method Description void
breakpointAdded(org.eclipse.debug.core.model.IBreakpoint breakpoint)
void
breakpointChanged(org.eclipse.debug.core.model.IBreakpoint breakpoint, org.eclipse.core.resources.IMarkerDelta delta)
void
breakpointRemoved(org.eclipse.debug.core.model.IBreakpoint breakpoint, org.eclipse.core.resources.IMarkerDelta delta)
void
cleanupOnTermination()
void
fireDispatchEvent(IModelRequest event)
EaseDebugTarget
getDebugTarget()
org.eclipse.debug.core.ILaunch
getLaunch()
org.eclipse.debug.core.model.IMemoryBlock
getMemoryBlock(long startAddress, long length)
String
getName()
EaseDebugProcess
getProcess()
EaseDebugThread[]
getThreads()
int
getUniqueVariableId(Object value)
void
handleEvent(IDebugEvent event)
boolean
hasThreads()
boolean
isShowDynamicCode()
boolean
isSuspendOnScriptLoad()
boolean
isSuspendOnStartup()
void
setDispatcher(EventDispatchJob dispatcher)
void
setScriptRegistry(IScriptRegistry registry)
Setter method for script registry for lookups between different types of file identifications.boolean
supportsStorageRetrieval()
String
toString()
Methods inherited from class org.eclipse.ease.debugging.model.EaseDebugElement
canDisconnect, canResume, canStepInto, canStepOver, canStepReturn, canSuspend, canTerminate, disconnect, getModelIdentifier, isDisconnected, isStepping, isSuspended, isTerminated, resume, setResumed, setSuspended, stepInto, stepOver, stepReturn, suspend, terminate
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getModelIdentifier
Methods inherited from interface org.eclipse.debug.core.model.IDebugTarget
supportsBreakpoint
Methods inherited from interface org.eclipse.debug.core.model.IDisconnect
canDisconnect, disconnect, isDisconnected
Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume
canResume, canSuspend, isSuspended, resume, suspend
Methods inherited from interface org.eclipse.debug.core.model.ITerminate
canTerminate, isTerminated, terminate
-
Constructor Details
-
EaseDebugTarget
public EaseDebugTarget(org.eclipse.debug.core.ILaunch launch, boolean suspendOnStartup, boolean suspendOnScriptLoad, boolean showDynamicCode)
-
-
Method Details
-
isSuspendOnStartup
public boolean isSuspendOnStartup() -
isSuspendOnScriptLoad
public boolean isSuspendOnScriptLoad() -
isShowDynamicCode
public boolean isShowDynamicCode() -
getName
- Specified by:
getName
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
getDebugTarget
- Specified by:
getDebugTarget
in interfaceorg.eclipse.debug.core.model.IDebugElement
- Overrides:
getDebugTarget
in classEaseDebugElement
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()- Specified by:
getLaunch
in interfaceorg.eclipse.debug.core.model.IDebugElement
- Overrides:
getLaunch
in classorg.eclipse.debug.core.model.DebugElement
-
getProcess
- Specified by:
getProcess
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
getThreads
- Specified by:
getThreads
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
hasThreads
public boolean hasThreads()- Specified by:
hasThreads
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
fireDispatchEvent
-
toString
-
setDispatcher
- Specified by:
setDispatcher
in interfaceIEventProcessor
-
setScriptRegistry
Setter method for script registry for lookups between different types of file identifications.- Parameters:
registry
- Script registry to be used.
-
handleEvent
- Specified by:
handleEvent
in interfaceIEventProcessor
-
cleanupOnTermination
public void cleanupOnTermination() -
getUniqueVariableId
-
breakpointAdded
public void breakpointAdded(org.eclipse.debug.core.model.IBreakpoint breakpoint)- Specified by:
breakpointAdded
in interfaceorg.eclipse.debug.core.IBreakpointListener
-
breakpointRemoved
public void breakpointRemoved(org.eclipse.debug.core.model.IBreakpoint breakpoint, org.eclipse.core.resources.IMarkerDelta delta)- Specified by:
breakpointRemoved
in interfaceorg.eclipse.debug.core.IBreakpointListener
-
breakpointChanged
public void breakpointChanged(org.eclipse.debug.core.model.IBreakpoint breakpoint, org.eclipse.core.resources.IMarkerDelta delta)- Specified by:
breakpointChanged
in interfaceorg.eclipse.debug.core.IBreakpointListener
-
supportsStorageRetrieval
public boolean supportsStorageRetrieval()- Specified by:
supportsStorageRetrieval
in interfaceorg.eclipse.debug.core.model.IMemoryBlockRetrieval
-
getMemoryBlock
public org.eclipse.debug.core.model.IMemoryBlock getMemoryBlock(long startAddress, long length) throws org.eclipse.debug.core.DebugException- Specified by:
getMemoryBlock
in interfaceorg.eclipse.debug.core.model.IMemoryBlockRetrieval
- Throws:
org.eclipse.debug.core.DebugException
-