Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-01-28 07:24:05 +0000
committerTobias Schwarz2014-01-28 07:24:05 +0000
commit10e21a359e19ce80f256027ea0a453eeff314645 (patch)
tree80956b2b14ae7314ba36d01205e8a931979bf2fa /target_explorer/plugins/org.eclipse.tcf.te.launch.core
parent7acd502c496c272f781512fe2779caddbc81fc9f (diff)
downloadorg.eclipse.tcf-10e21a359e19ce80f256027ea0a453eeff314645.tar.gz
org.eclipse.tcf-10e21a359e19ce80f256027ea0a453eeff314645.tar.xz
org.eclipse.tcf-10e21a359e19ce80f256027ea0a453eeff314645.zip
Target Explorer: add callback to be able to wait for debugger start
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.launch.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/delegates/LaunchConfigurationDelegate.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/delegates/LaunchConfigurationDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/delegates/LaunchConfigurationDelegate.java
index 2f42f7603..529eec42b 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/delegates/LaunchConfigurationDelegate.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/delegates/LaunchConfigurationDelegate.java
@@ -186,6 +186,7 @@ public class LaunchConfigurationDelegate extends org.eclipse.debug.core.model.La
// Set the launch completed here. Doesn't matter if the launch might completed with error or not.
launch.setAttribute(ICommonLaunchAttributes.ILAUNCH_ATTRIBUTE_LAUNCH_SEQUENCE_COMPLETED, Boolean.TRUE.toString());
+ onLaunchFinished(launch, status != null ? status : Status.OK_STATUS);
long endTime = System.currentTimeMillis();
CoreBundleActivator.getTraceHandler().trace("LaunchConfigurationDelegate#launch: *** DONE" //$NON-NLS-1$
@@ -306,4 +307,8 @@ public class LaunchConfigurationDelegate extends org.eclipse.debug.core.model.La
public IBreakpoint[] getBreakpoints(ILaunchConfiguration configuration) {
return super.getBreakpoints(configuration);
}
+
+ protected void onLaunchFinished(ILaunch launch, IStatus status) {
+
+ }
}

Back to the top