mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 01:45:33 +02:00
Bug 124519: CDT launch shortcuts ignore Common Tabs "Launch in background" option. Applied patch from Andrew Ferguson (andrew.ferguson@arm.com).
This commit is contained in:
parent
3513e5a634
commit
ef1cb915f1
2 changed files with 11 additions and 10 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-01-30 Mikhail Khodjaiants
|
||||
Bug 124519: CDT launch shortcuts ignore Common Tabs "Launch in background" option.
|
||||
Applied patch from Andrew Ferguson (andrew.ferguson@arm.com).
|
||||
* CApplicationLaunchShortcut.java
|
||||
|
||||
2006-01-30 Mikhail Khodjaiants
|
||||
Bug 123997: launching subclasses of AbstractCLaunchDelegate causes progress information to be lost.
|
||||
Applied patch from Andrew Ferguson (andrew.ferguson@arm.com).
|
||||
|
|
|
@ -67,16 +67,12 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut {
|
|||
}
|
||||
|
||||
public void launch(IBinary bin, String mode) {
|
||||
try {
|
||||
ILaunchConfiguration config = findLaunchConfiguration(bin, mode);
|
||||
if (config != null) {
|
||||
DebugUITools.saveAndBuildBeforeLaunch();
|
||||
config.launch(mode, null);
|
||||
}
|
||||
} catch (CoreException e) {
|
||||
LaunchUIPlugin.errorDialog(LaunchMessages.getString("CApplicationLaunchShortcut.LaunchFailed"), e.getStatus()); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
ILaunchConfiguration config = findLaunchConfiguration(bin, mode);
|
||||
if (config != null) {
|
||||
DebugUITools.saveAndBuildBeforeLaunch();
|
||||
DebugUITools.launch(config, mode);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Locate a configuration to relaunch for the given type. If one cannot be found, create one.
|
||||
|
|
Loading…
Add table
Reference in a new issue