Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-09-29 07:42:21 +0000
committerTobias Schwarz2014-09-29 07:42:21 +0000
commit93c0de6a47c24a5a82afa991b8bec34045b0594e (patch)
treeda3bef6f3833de3bd1330a82f62f40f86548adfc /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui
parent03f197f4c84e04abda2f87944263c28f1b0c5eae (diff)
downloadorg.eclipse.tcf-93c0de6a47c24a5a82afa991b8bec34045b0594e.tar.gz
org.eclipse.tcf-93c0de6a47c24a5a82afa991b8bec34045b0594e.tar.xz
org.eclipse.tcf-93c0de6a47c24a5a82afa991b8bec34045b0594e.zip
Target Explorer: reattach debugger after connection lost/recovered
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java
index 20ec528e2..f50aef0fa 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java
@@ -202,6 +202,7 @@ public class DebugService extends AbstractService implements IDebugService {
if (contexts != null && contexts.length == 1 && contexts[0].equals(context)) {
((IDisconnect)launch).disconnect();
}
+ data.setProperty(PROPERTY_DEBUGGER_DETACHED, true);
}
} catch (Exception e) {
if (e instanceof ExecutionException && "TCF task aborted".equals(e.getMessage()) //$NON-NLS-1$

Back to the top