summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorPawel Piech2012-07-26 12:40:29 (EDT)
committer Pawel Piech2012-07-26 15:05:25 (EDT)
commitc89da2e70f8da7c92ae1614bfc7e5b689b14608b (patch)
tree8de0d46a096d7206d7c079fe85eaa04521e3a59d
parentd00f4afd82b76f20ae3122e252636de1c248d61c (diff)
downloadorg.eclipse.tcf-c89da2e70f8da7c92ae1614bfc7e5b689b14608b.zip
org.eclipse.tcf-c89da2e70f8da7c92ae1614bfc7e5b689b14608b.tar.gz
org.eclipse.tcf-c89da2e70f8da7c92ae1614bfc7e5b689b14608b.tar.bz2
Bug 386067 - RuntimeExceptions thrown in dispatch thread are not alwaysrefs/changes/80/6980/2
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java
index 6e231ff..74d4161 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java
@@ -387,6 +387,10 @@ public class TCFLaunch extends Launch {
if (DebugPlugin.getDefault() != null) fireTerminate();
}
});
+ // Log severe exceptions: bug 386067
+ if (error instanceof RuntimeException) {
+ Activator.log("Channel disconnected with error", error);
+ }
}
protected void runLaunchSequence(Runnable done) {