Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java5
1 files changed, 4 insertions, 1 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 675ceb505..ddd0be485 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
@@ -358,7 +358,10 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
else {
test_ctx = ctx;
process_id = test_ctx.getProcessID();
- if (test_ctx.hasState()) thread_id = test_ctx_id;
+ if (test_ctx.hasState()) {
+ thread_id = test_ctx_id;
+ thread_ctx = test_ctx;
+ }
runTest();
}
}

Back to the top