public interface IDebugElement extends IAdaptable
Some methods on debug elements require communication
with the target program. Such methods may throw a DebugException
with a status code of TARGET_REQUEST_FAILED
when unable to complete a request due to a failure on the target.
Methods that require communication with the target program or require
the target to be in a specific state (for example, suspended), are declared
as such.
Debug elements are language independent. However, language specific
features can be made available via the adapter mechanism provided by
IAdaptable, or by extending the debug element interfaces.
A debug model is responsible for declaring any special adapters
its debug elements implement.
Clients may implement this interface.
| Modifier and Type | Method and Description |
|---|---|
IDebugTarget |
getDebugTarget()
Returns the debug target this element is contained in.
|
ILaunch |
getLaunch()
Returns the launch this element is contained in.
|
String |
getModelIdentifier()
Returns the unique identifier of the plug-in
this debug element originated from.
|
getAdapterString getModelIdentifier()
IDebugTarget getDebugTarget()
ILaunch getLaunch()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.