Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimeon Andreev2018-07-04 09:33:18 -0400
committerSimeon Andreev2018-07-13 11:27:29 -0400
commitaa93e5c7ccf1835bcd12069e8462cd14de680711 (patch)
treec13d3fcb324a39621785eda08bc7657a95e0aa4b /org.eclipse.debug.ui
parent0acc16f73134e4b08bf31a75cfe0b77c046e872a (diff)
downloadeclipse.platform.debug-aa93e5c7ccf1835bcd12069e8462cd14de680711.tar.gz
eclipse.platform.debug-aa93e5c7ccf1835bcd12069e8462cd14de680711.tar.xz
eclipse.platform.debug-aa93e5c7ccf1835bcd12069e8462cd14de680711.zip
Bug 536648 - Thread evaluation runs in parallel with thread label updateI20180714-1500I20180713-2000
When running an evaluation on a thread suspension, its possible that a label update of the Debug View runs in parallel. The label update can then retrieve the intermediate state of the evaluation. If no further label update is issued, the thread will be shown as running until the Debug View is refreshed. With this change, suspending a thread after an evaluation will also update the thread state in the Debug View. This avoids the wrong running icon of the thread. Change-Id: Id6ec6a9d48c041d0b2617adb8b7da91ba5140b15 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java
index dece8b1d9..c30102aac 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java
@@ -69,7 +69,7 @@ public class ThreadEventHandler extends DebugEventHandler {
if (event.isEvaluation()) {
ModelDelta delta = buildRootDelta();
ModelDelta node = addPathToThread(delta, thread);
- node = node.addNode(thread, IModelDelta.NO_CHANGE);
+ node = node.addNode(thread, IModelDelta.STATE);
try {
IStackFrame frame = thread.getTopStackFrame();
if (frame != null) {

Back to the top