Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2006-01-30 22:46:16 +0000
committerMikhail Khodjaiants2006-01-30 22:46:16 +0000
commitef1cb915f1fec5bbc655ae80d856b406916ded52 (patch)
tree61a34af96197f441e47a2d9bc3bfcb2001e80702 /launch/org.eclipse.cdt.launch
parent3513e5a63418f3745675e1016da96af67d517276 (diff)
downloadorg.eclipse.cdt-ef1cb915f1fec5bbc655ae80d856b406916ded52.tar.gz
org.eclipse.cdt-ef1cb915f1fec5bbc655ae80d856b406916ded52.tar.xz
org.eclipse.cdt-ef1cb915f1fec5bbc655ae80d856b406916ded52.zip
Bug 124519: CDT launch shortcuts ignore Common Tabs "Launch in background" option. Applied patch from Andrew Ferguson (andrew.ferguson@arm.com).
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/ChangeLog5
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java16
2 files changed, 11 insertions, 10 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog
index e0542472738..c14f47922f5 100644
--- a/launch/org.eclipse.cdt.launch/ChangeLog
+++ b/launch/org.eclipse.cdt.launch/ChangeLog
@@ -1,4 +1,9 @@
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).
* AbstractCLaunchDelegate.java
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java
index 25dec707127..6bc3b79263d 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java
@@ -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.

Back to the top