Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasili Gulevich2019-05-21 12:27:53 +0000
committerVasili Gulevich2019-05-21 12:27:53 +0000
commitf85dd7567f5ef348ffcfd61ce80b2cdbfca0a39c (patch)
treefaa4893f98733cde2c6b2eb4d88140a4b5da06ab
parentbf4ea97dd68fe46573c402f93c79c4332223ec86 (diff)
downloadorg.eclipse.rcptt-f85dd7567f5ef348ffcfd61ce80b2cdbfca0a39c.tar.gz
org.eclipse.rcptt-f85dd7567f5ef348ffcfd61ce80b2cdbfca0a39c.tar.xz
org.eclipse.rcptt-f85dd7567f5ef348ffcfd61ce80b2cdbfca0a39c.zip
Trace job waiting
-rw-r--r--runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/player/UIJobCollector.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/player/UIJobCollector.java b/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/player/UIJobCollector.java
index 4b8543eeb..0b89ef02e 100644
--- a/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/player/UIJobCollector.java
+++ b/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/player/UIJobCollector.java
@@ -604,6 +604,8 @@ public class UIJobCollector implements IJobChangeListener {
continue;
if (!context.containsClass(className)) {
// There is a syncExec invocation, in another thread, assume they are waiting for UI, not this job
+ if (DEBUG)
+ debug("Another thread is waiting for UI thread: " + className);
toContinue = false;
break;
}
@@ -615,6 +617,8 @@ public class UIJobCollector implements IJobChangeListener {
}
}
}
+ } else {
+ debug("Could not find job context");
}
}
}

Back to the top