Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-01-27 22:43:13 +0000
committereutarass2011-01-27 22:43:13 +0000
commit6a7a6fa98ffea9146c61035885df872cc5101807 (patch)
treeea2c898d4ba55e7f3ea2d4e64aedc162df8f4af8 /plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java
parent1e288b9f9172b0777172fb44b546fd6ca0fa69f2 (diff)
downloadorg.eclipse.tcf-6a7a6fa98ffea9146c61035885df872cc5101807.tar.gz
org.eclipse.tcf-6a7a6fa98ffea9146c61035885df872cc5101807.tar.xz
org.eclipse.tcf-6a7a6fa98ffea9146c61035885df872cc5101807.zip
TCF Debugger: fixed a regression: IllegalStateException when Eclipse is shutdown with open TCF debug session
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java
index 8901a6b8d..10529737d 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java
@@ -838,6 +838,10 @@ public class TCFLaunch extends Launch {
}
}.get();
}
+ catch (IllegalStateException x) {
+ // Don't report this exception - it means Eclipse is being shut down
+ disconnected = true;
+ }
catch (Exception x) {
throw new TCFError(x);
}

Back to the top