mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
Bug 257449. Search for any type of launch, not just C.
Change-Id: Ib8ec324aaf3ae1723c6dea53770965b600314203 Signed-off-by: Jon Beniston <jon@beniston.com>
This commit is contained in:
parent
41b5a72c73
commit
167a605b57
1 changed files with 1 additions and 2 deletions
|
@ -89,10 +89,9 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
|
|||
*/
|
||||
protected ILaunchConfiguration findLaunchConfiguration(IBinary bin, String mode) {
|
||||
ILaunchConfiguration configuration = null;
|
||||
ILaunchConfigurationType configType = getCLaunchConfigType();
|
||||
List<ILaunchConfiguration> candidateConfigs = Collections.emptyList();
|
||||
try {
|
||||
ILaunchConfiguration[] configs = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurations(configType);
|
||||
ILaunchConfiguration[] configs = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurations();
|
||||
candidateConfigs = new ArrayList<ILaunchConfiguration>(configs.length);
|
||||
for (int i = 0; i < configs.length; i++) {
|
||||
ILaunchConfiguration config = configs[i];
|
||||
|
|
Loading…
Add table
Reference in a new issue