Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-05-17 13:12:21 -0400
committereutarass2010-05-17 13:12:21 -0400
commitbc624df6fc6bf9dac5a162808c4350fd8b7b8c23 (patch)
tree8a84d31e38b599604420a117dc6329a7221d0eb0 /plugins/org.eclipse.tm.tcf.debug
parent402aff4aaf02c3a7014ec990fd79d29226176f38 (diff)
downloadorg.eclipse.tcf-bc624df6fc6bf9dac5a162808c4350fd8b7b8c23.tar.gz
org.eclipse.tcf-bc624df6fc6bf9dac5a162808c4350fd8b7b8c23.tar.xz
org.eclipse.tcf-bc624df6fc6bf9dac5a162808c4350fd8b7b8c23.zip
TCF Debugger: fixed: run control diagnostic tests sometimes report bogus error "Already resumed"
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java4
1 files changed, 3 insertions, 1 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 f99957335..6c16f80db 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
@@ -69,6 +69,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
private boolean bp_reset_done;
private boolean bp_set_done;
private boolean bp_change_done;
+ private boolean bp_sync_done;
private class SuspendedContext {
final String id;
@@ -532,6 +533,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
if (error != null) exit(error);
}
});
+ bp_sync_done = true;
runTest();
}
});
@@ -739,7 +741,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
private void resume(final String id) {
assert done_get_state || resume_cnt == 0;
- if (!done_get_state) return;
+ if (!bp_sync_done) return;
resume_cnt++;
SuspendedContext sc = suspended.get(id);
IRunControl.RunControlContext ctx = threads.get(id);

Back to the top