Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
index b1c1fc590..fa558a2fb 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
@@ -975,14 +975,14 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
public void contextChanged(IRunControl.RunControlContext[] contexts) {
}
- public void contextException(String context, String msg) {
+ public void contextException(String id, String msg) {
if (test_done) return;
- IRunControl.RunControlContext ctx = test_rc.getContext(context);
+ IRunControl.RunControlContext ctx = test_rc.getContext(id);
if (ctx != null) {
if (test_ctx_id == null) return;
String p = ctx.getParentID();
String c = ctx.getCreatorID();
- if (!test_ctx_id.equals(c) && !test_ctx_id.equals(p)) return;
+ if (!test_ctx_id.equals(id) && !test_ctx_id.equals(c) && !test_ctx_id.equals(p)) return;
exit(new Exception("Context exception: " + msg));
}
}

Back to the top