Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2002-04-04 22:26:03 -0500
committerDarin Wright2002-04-04 22:26:03 -0500
commitb6495abe8506db3e08f319f5572d1ee93c45ebf3 (patch)
tree44ce931a925c4e90f5f01b71c290cc93ffd243dc /org.eclipse.debug.core
parentbc0466a376915c067abbedd60efd00318aab54c5 (diff)
downloadeclipse.platform.debug-b6495abe8506db3e08f319f5572d1ee93c45ebf3.tar.gz
eclipse.platform.debug-b6495abe8506db3e08f319f5572d1ee93c45ebf3.tar.xz
eclipse.platform.debug-b6495abe8506db3e08f319f5572d1ee93c45ebf3.zip
bug 12695
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java
index a350c572c..f620267b3 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java
@@ -90,11 +90,14 @@ public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminat
public String getName() throws DebugException;
/**
- * Returns the breakpoint that caused this thread to suspend,
- * or <code>null</code> if this thread is not suspended or
- * was not suspended by a breakpoint.
+ * Returns the breakpoints that caused this thread to suspend,
+ * or an empty collection if this thread is not suspended or
+ * was not suspended by a breakpoint. Usually a single breakpoint
+ * will be returned, but this collection can contain more than
+ * one breakpoint if two breakpoints are at the same location in
+ * a program.
*
- * @return breakpoint that caused suspend, or <code>null</code> if none
+ * @return breakpoints that caused suspend, possibly empty
*/
- public IBreakpoint getBreakpoint();
+ public IBreakpoint[] getBreakpoints();
}

Back to the top