Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-08-13 13:03:24 -0400
committereutarass2010-08-13 13:03:24 -0400
commitcd2432a5179763c152c37f6d8c93552edea7446e (patch)
treec7d2ba7cb504f89a714b177974d413b7709ea30a /plugins
parent9f720cacc3d546860a005af43f954029c51b15ad (diff)
downloadorg.eclipse.tcf-cd2432a5179763c152c37f6d8c93552edea7446e.tar.gz
org.eclipse.tcf-cd2432a5179763c152c37f6d8c93552edea7446e.tar.xz
org.eclipse.tcf-cd2432a5179763c152c37f6d8c93552edea7446e.zip
TCF Debugger: Fixed: diagnostics test sometime fails with false positive: "Invalid BP status"
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
index 5832f5d30..91171569d 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
@@ -91,7 +91,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
@SuppressWarnings("unchecked")
public void breakpointStatusChanged(String id, Map<String,Object> status) {
- if (bp_list.get(id) != null && test_context != null) {
+ if (bp_list.get(id) != null && test_context != null && bp_cnt < 40) {
String s = (String)status.get(IBreakpoints.STATUS_ERROR);
if (s != null) exit(new Exception("Invalid BP status: " + s));
Collection<Map<String,Object>> list = (Collection<Map<String,Object>>)status.get(IBreakpoints.STATUS_INSTANCES);
@@ -287,7 +287,6 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
private void getTestContext() {
rc.getContext(test_ctx_id, new IRunControl.DoneGetContext() {
public void doneGetContext(IToken token, Exception error, RunControlContext context) {
- get_state_cmds.remove(token);
if (test_suite.cancel) return;
if (error != null) {
exit(error);

Back to the top