Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java
index f2545624b..8ba6a801d 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java
@@ -5,6 +5,7 @@ package org.eclipse.debug.core.model;
* All Rights Reserved.
*/
+import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.IBreakpointListener;
/**
@@ -45,6 +46,25 @@ public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume,
* this debug target.
*/
IProcess getProcess();
+ /**
+ * Returns the threads contained in this debug target. An
+ * empty collection is returned if this debug target contains
+ * no threads.
+ *
+ * @return a collection of threads
+ * @exception DebugException if unable to retrieve threads
+ * from the target
+ */
+ IThread[] getThreads() throws DebugException;
+ /**
+ * Returns the name of this debug target. Name format is debug model
+ * specific, and should be specified by a debug model.
+ *
+ * @return this target's name
+ * @exception DebugException if unable to retrieve this element's name from
+ * the target
+ */
+ String getName() throws DebugException;
}

Back to the top