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:
parent
4541ef70ca
commit
fce5016ea7
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue