Class DebugTarget
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.emf.mwe.internal.ui.debug.model.DebugElement
org.eclipse.emf.mwe.internal.ui.debug.model.DebugTarget
- 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
MWE Debug Target implementation
It holds the debug threads. There is only one thread in the MWE debug model.
It holds also a variable values cache.
For Info: A debug target handles the suspend, resume, terminate commands and the breakpoint handling.
It holds the debug threads. There is only one thread in the MWE debug model.
It holds also a variable values cache.
For Info: A debug target handles the suspend, resume, terminate commands and the breakpoint handling.
-
Field Summary
FieldsFields inherited from class org.eclipse.emf.mwe.internal.ui.debug.model.DebugElement
target
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
boolean
boolean
boolean
void
getDebugValue
(VarValueTO varTO) org.eclipse.debug.core.ILaunch
org.eclipse.debug.core.model.IMemoryBlock
getMemoryBlock
(long startAddress, long length) getName()
org.eclipse.debug.core.model.IProcess
org.eclipse.debug.core.model.IThread[]
boolean
void
boolean
boolean
boolean
static DebugTarget
newDebugTarget
(org.eclipse.debug.core.ILaunch launch, org.eclipse.debug.core.model.IProcess process, Connection conn) void
void
resume()
void
setSuspended
(boolean value) void
boolean
supportsBreakpoint
(org.eclipse.debug.core.model.IBreakpoint breakpoint) boolean
void
suspend()
void
void
updateDebugValues
(List<VarValueTO> vars) Methods inherited from class org.eclipse.emf.mwe.internal.ui.debug.model.DebugElement
getAdapter, getDebugTarget, getDebugTarget0, getModelIdentifier
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, getModelIdentifier
-
Field Details
-
suspended
protected boolean suspended
-
-
Method Details
-
newDebugTarget
public static DebugTarget newDebugTarget(org.eclipse.debug.core.ILaunch launch, org.eclipse.debug.core.model.IProcess process, Connection conn) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()- Specified by:
getLaunch
in interfaceorg.eclipse.debug.core.model.IDebugElement
- Overrides:
getLaunch
in classDebugElement
-
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()- Specified by:
getThreads
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
getThread
-
removeThread
public void removeThread() -
hasThreads
public boolean hasThreads()- Specified by:
hasThreads
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
getName
- Specified by:
getName
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
getDebugModelManager
- Overrides:
getDebugModelManager
in classDebugElement
-
getDebugValue
-
updateDebugValues
-
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
-
setSuspended
public void setSuspended(boolean value) -
setVariablesDirty
public void setVariablesDirty() -
installDeferredBreakpoints
public void installDeferredBreakpoints() -
supportsBreakpoint
public boolean supportsBreakpoint(org.eclipse.debug.core.model.IBreakpoint breakpoint) - Specified by:
supportsBreakpoint
in interfaceorg.eclipse.debug.core.model.IDebugTarget
-
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
-
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
-
canDisconnect
public boolean canDisconnect()- Specified by:
canDisconnect
in interfaceorg.eclipse.debug.core.model.IDisconnect
-
disconnect
public void disconnect()- Specified by:
disconnect
in interfaceorg.eclipse.debug.core.model.IDisconnect
-
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) - Specified by:
getMemoryBlock
in interfaceorg.eclipse.debug.core.model.IMemoryBlockRetrieval
-