Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2008-06-16 23:33:58 +0000
committereutarass2008-06-16 23:33:58 +0000
commitc4534274267e6b8a0aa2a7d0f0f5e9348d04909d (patch)
treea2e893e0f71998b8765e703687c01ff81302a496 /plugins/org.eclipse.tm.tcf.debug
parent870c5a56a7a83e7d1733a9b853d1d7d416c604ee (diff)
downloadorg.eclipse.tcf-c4534274267e6b8a0aa2a7d0f0f5e9348d04909d.tar.gz
org.eclipse.tcf-c4534274267e6b8a0aa2a7d0f0f5e9348d04909d.tar.xz
org.eclipse.tcf-c4534274267e6b8a0aa2a7d0f0f5e9348d04909d.zip
1. TCF agent Stack Trace service: fixed handling of PLT entries on Linux.
2. TCF agent Run Control service: fixed suspend reason reporting 3. TCF debugger: implemented source level step into command 4. Multiple fixes/improvement related to source level stepping 5. Better handling of TCF plugins activation/deactivation: start TCF event thread after plugin is fully activated, shutdown the thread when plugin is deactivated
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/model/TCFLaunch.java10
1 files changed, 10 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 3fd7701c3..d3c290c19 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
@@ -62,6 +62,7 @@ public class TCFLaunch extends Launch {
private boolean connecting;
private boolean disconnected;
private boolean shutdown;
+ private boolean last_context_exited;
private ProcessContext process;
public TCFLaunch(ILaunchConfiguration launchConfiguration, String mode) {
@@ -238,6 +239,11 @@ public class TCFLaunch extends Launch {
public boolean isConnecting() {
return connecting;
}
+
+ public void onLastContextRemoved() {
+ last_context_exited = true;
+ channel.close();
+ }
public IPeer getPeer() {
assert Protocol.isDispatchThread();
@@ -310,6 +316,10 @@ public class TCFLaunch extends Launch {
return res[0];
}
+ public boolean isExited() {
+ return last_context_exited;
+ }
+
public void disconnect() throws DebugException {
Protocol.invokeAndWait(new Runnable() {
public void run() {

Back to the top