Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Ryall2010-05-27 04:01:37 +0000
committerKen Ryall2010-05-27 04:01:37 +0000
commitfce5016ea7812dcd51a5a62e5554f2bc07be8f25 (patch)
treee6254e9323c7bdb23e9aa3bfc5160624805c073c /launch/org.eclipse.cdt.launch
parent4541ef70ca63c003528a4cd0b52add925fad2862 (diff)
downloadorg.eclipse.cdt-fce5016ea7812dcd51a5a62e5554f2bc07be8f25.tar.gz
org.eclipse.cdt-fce5016ea7812dcd51a5a62e5554f2bc07be8f25.tar.xz
org.eclipse.cdt-fce5016ea7812dcd51a5a62e5554f2bc07be8f25.zip
Only enable the cdi-gdb activity on no run launches since they are used by DSF as well.
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
index 5a14503e43..35c329a5c9 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
@@ -129,7 +129,6 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
public AbstractCLaunchDelegate() {
super();
- org.eclipse.cdt.launch.LaunchUtils.enableActivity("org.eclipse.cdt.debug.cdigdbActivity", true); //$NON-NLS-1$
}
/* (non-Javadoc)
@@ -781,6 +780,10 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
if(monitor == null) {
monitor = new NullProgressMonitor();
}
+
+ if(!mode.equals(ILaunchManager.RUN_MODE))
+ org.eclipse.cdt.launch.LaunchUtils.enableActivity("org.eclipse.cdt.debug.cdigdbActivity", true); //$NON-NLS-1$
+
workspaceBuildBeforeLaunch = false;

Back to the top