public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume, IBreakpointListener, IDisconnect, IMemoryBlockRetrieval
Generally, launching a debug session results in the creation of a debug target. Launching is a client responsibility, as is debug target creation.
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this debug target.
|
IProcess |
getProcess()
Returns the system process associated with this debug target.
|
IThread[] |
getThreads()
Returns the threads contained in this debug target.
|
boolean |
hasThreads()
Returns whether this debug target currently contains any threads.
|
boolean |
supportsBreakpoint(IBreakpoint breakpoint)
Returns whether this target can install the given breakpoint.
|
getDebugTarget, getLaunch, getModelIdentifier
getAdapter
canTerminate, isTerminated, terminate
canResume, canSuspend, isSuspended, resume, suspend
breakpointAdded, breakpointChanged, breakpointRemoved
canDisconnect, disconnect, isDisconnected
getMemoryBlock, supportsStorageRetrieval
IProcess getProcess()
IThread[] getThreads() throws DebugException
DebugException
- if this method fails. Reasons include:
boolean hasThreads() throws DebugException
DebugException
- if this method fails. Reasons include:
String getName() throws DebugException
DebugException
- if this method fails. Reasons include:
boolean supportsBreakpoint(IBreakpoint breakpoint)
breakpoint
- breakpoint to consider
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.