|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDebugTarget
A debug target is a debuggable execution context. For example, a debug target may represent a debuggable process or a virtual machine. A debug target is the root of the debug element hierarchy. A debug target contains threads. Minimally, a debug target supports the following:
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.
ITerminate,
ISuspendResume,
IBreakpointListener,
IDisconnect,
IMemoryBlockRetrieval,
ILaunch| Method Summary | |
|---|---|
java.lang.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. |
| Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
|---|
getDebugTarget, getLaunch, getModelIdentifier |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.debug.core.model.ITerminate |
|---|
canTerminate, isTerminated, terminate |
| Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume |
|---|
canResume, canSuspend, isSuspended, resume, suspend |
| Methods inherited from interface org.eclipse.debug.core.IBreakpointListener |
|---|
breakpointAdded, breakpointChanged, breakpointRemoved |
| Methods inherited from interface org.eclipse.debug.core.model.IDisconnect |
|---|
canDisconnect, disconnect, isDisconnected |
| Methods inherited from interface org.eclipse.debug.core.model.IMemoryBlockRetrieval |
|---|
getMemoryBlock, supportsStorageRetrieval |
| Method Detail |
|---|
IProcess getProcess()
IThread[] getThreads()
throws DebugException
DebugException - if this method fails. Reasons include:
boolean hasThreads()
throws DebugException
DebugException - if this method fails. Reasons include:
java.lang.String getName()
throws DebugException
DebugException - if this method fails. Reasons include:
boolean supportsBreakpoint(IBreakpoint breakpoint)
breakpoint - breakpoing to consider
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.