mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Bug 477728 - Exit code not displayed in console for new Run config
Change-Id: Id1ecdffb5d3a99908f7ac4ee096f2b7f7e3d6440
This commit is contained in:
parent
6a17a26b22
commit
366dcbb39a
1 changed files with 7 additions and 0 deletions
|
@ -407,6 +407,13 @@ public class LocalCDILaunchDelegate extends AbstractCLaunchDelegate {
|
||||||
if (ICDTLaunchConfigurationConstants.DEBUGGER_MODE_CORE.equals(config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE, ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN)))
|
if (ICDTLaunchConfigurationConstants.DEBUGGER_MODE_CORE.equals(config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE, ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN)))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (mode.equals(ILaunchManager.RUN_MODE)) {
|
||||||
|
// We plan on splitting the Run delegate from the Debug one.
|
||||||
|
// For now, to keep backwards-compatibility, we need to keep the same delegate (to keep its id)
|
||||||
|
// However, we can just call the new delegate class
|
||||||
|
new LocalRunLaunchDelegate().preLaunchCheck(config, mode, monitor);
|
||||||
|
}
|
||||||
|
|
||||||
return super.preLaunchCheck(config, mode, monitor);
|
return super.preLaunchCheck(config, mode, monitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue