1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +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() { public AbstractCLaunchDelegate() {
super(); super();
org.eclipse.cdt.launch.LaunchUtils.enableActivity("org.eclipse.cdt.debug.cdigdbActivity", true); //$NON-NLS-1$
} }
/* (non-Javadoc) /* (non-Javadoc)
@ -782,6 +781,10 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
monitor = new NullProgressMonitor(); 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; workspaceBuildBeforeLaunch = false;
int scale = 1000; int scale = 1000;