Package org.eclipse.epsilon.eol.dt.debug
Class EolDebugTarget
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.debug.core.model.DebugElement
-
- org.eclipse.epsilon.eol.dt.debug.EolDebugElement
-
- org.eclipse.epsilon.eol.dt.debug.EolDebugTarget
-
- 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.ISuspendResume
,org.eclipse.debug.core.model.ITerminate
public class EolDebugTarget extends EolDebugElement implements org.eclipse.debug.core.model.IDebugTarget
-
-
Field Summary
Fields Modifier and Type Field Description protected EolDebugger
debugger
protected org.eclipse.debug.core.ILaunch
launch
protected IEolModule
module
protected String
name
protected org.eclipse.debug.core.model.IProcess
process
protected boolean
suspended
protected boolean
terminated
protected org.eclipse.debug.core.model.IThread[]
threads
-
Constructor Summary
Constructors Constructor Description EolDebugTarget(org.eclipse.debug.core.ILaunch launch, IEolModule module, EolDebugger debugger, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
boolean
canDisconnect()
boolean
canResume()
boolean
canSuspend()
boolean
canTerminate()
Object
debug()
void
disconnect()
EolDebugTarget
getDebugTarget()
org.eclipse.debug.core.ILaunch
getLaunch()
org.eclipse.debug.core.model.IMemoryBlock
getMemoryBlock(long startAddress, long length)
IEolModule
getModule()
String
getName()
org.eclipse.debug.core.model.IProcess
getProcess()
org.eclipse.debug.core.model.IThread[]
getThreads()
boolean
hasThreads()
boolean
isDisconnected()
boolean
isSuspended()
boolean
isTerminated()
void
resume()
void
stepInto()
void
stepOver()
void
stepReturn()
boolean
supportsBreakpoint(org.eclipse.debug.core.model.IBreakpoint breakpoint)
boolean
supportsStorageRetrieval()
void
suspend()
void
terminate()
-
Methods inherited from class org.eclipse.epsilon.eol.dt.debug.EolDebugElement
getModelIdentifier
-
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, notSupported, requestFailed
-
-
-
-
Field Detail
-
suspended
protected boolean suspended
-
terminated
protected boolean terminated
-
debugger
protected EolDebugger debugger
-
launch
protected org.eclipse.debug.core.ILaunch launch
-
threads
protected org.eclipse.debug.core.model.IThread[] threads
-
process
protected org.eclipse.debug.core.model.IProcess process
-
module
protected IEolModule module
-
name
protected String name
-
-
Constructor Detail
-
EolDebugTarget
public EolDebugTarget(org.eclipse.debug.core.ILaunch launch, IEolModule module, EolDebugger debugger, String name)
-
-
Method Detail
-
getModule
public IEolModule getModule()
-
stepInto
public void stepInto() throws org.eclipse.debug.core.DebugException
- Throws:
org.eclipse.debug.core.DebugException
-
stepOver
public void stepOver() throws org.eclipse.debug.core.DebugException
- Throws:
org.eclipse.debug.core.DebugException
-
stepReturn
public void stepReturn()
-
debug
public Object debug() throws org.eclipse.debug.core.DebugException, EolRuntimeException
- Throws:
org.eclipse.debug.core.DebugException
EolRuntimeException
-
getDebugTarget
public EolDebugTarget getDebugTarget()
- Specified by:
getDebugTarget
in interfaceorg.eclipse.debug.core.model.IDebugElement
- Overrides:
getDebugTarget
in classorg.eclipse.debug.core.model.DebugElement
-
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
-
canTerminate
public boolean canTerminate()
- Specified by:
canTerminate
in interfaceorg.eclipse.debug.core.model.ITerminate
-
isTerminated
public boolean isTerminated()
- Specified by:
isTerminated
in interfaceorg.eclipse.debug.core.model.ITerminate
-
terminate
public void terminate() throws org.eclipse.debug.core.DebugException
- Specified by:
terminate
in interfaceorg.eclipse.debug.core.model.ITerminate
- Throws:
org.eclipse.debug.core.DebugException
-
canResume
public boolean canResume()
- Specified by:
canResume
in interfaceorg.eclipse.debug.core.model.ISuspendResume
-
canSuspend
public boolean canSuspend()
- Specified by:
canSuspend
in interfaceorg.eclipse.debug.core.model.ISuspendResume
-
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended
in interfaceorg.eclipse.debug.core.model.ISuspendResume
-
resume
public void resume() throws org.eclipse.debug.core.DebugException
- Specified by:
resume
in interfaceorg.eclipse.debug.core.model.ISuspendResume
- Throws:
org.eclipse.debug.core.DebugException
-
suspend
public void suspend() throws org.eclipse.debug.core.DebugException
- Specified by:
suspend
in interfaceorg.eclipse.debug.core.model.ISuspendResume
- Throws:
org.eclipse.debug.core.DebugException
-
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
-
getProcess
public org.eclipse.debug.core.model.IProcess getProcess()
- Specified by:
getProcess
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
getThreads
public org.eclipse.debug.core.model.IThread[] getThreads() throws org.eclipse.debug.core.DebugException
- Specified by:
getThreads
in interfaceorg.eclipse.debug.core.model.IDebugTarget
- Throws:
org.eclipse.debug.core.DebugException
-
hasThreads
public boolean hasThreads() throws org.eclipse.debug.core.DebugException
- Specified by:
hasThreads
in interfaceorg.eclipse.debug.core.model.IDebugTarget
- Throws:
org.eclipse.debug.core.DebugException
-
getName
public String getName() throws org.eclipse.debug.core.DebugException
- Specified by:
getName
in interfaceorg.eclipse.debug.core.model.IDebugTarget
- Throws:
org.eclipse.debug.core.DebugException
-
supportsBreakpoint
public boolean supportsBreakpoint(org.eclipse.debug.core.model.IBreakpoint breakpoint)
- Specified by:
supportsBreakpoint
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
canDisconnect
public boolean canDisconnect()
- Specified by:
canDisconnect
in interfaceorg.eclipse.debug.core.model.IDisconnect
-
disconnect
public void disconnect() throws org.eclipse.debug.core.DebugException
- Specified by:
disconnect
in interfaceorg.eclipse.debug.core.model.IDisconnect
- Throws:
org.eclipse.debug.core.DebugException
-
isDisconnected
public boolean isDisconnected()
- Specified by:
isDisconnected
in interfaceorg.eclipse.debug.core.model.IDisconnect
-
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
-
-