1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Only enable the cdi-gdb activity on no run launches since they are used by DSF as well.

This commit is contained in:
Ken Ryall 2010-05-27 04:01:37 +00:00
parent 4541ef70ca
commit fce5016ea7

View file

@ -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;