diff options
author | Michael Rennie | 2009-10-26 16:07:00 +0000 |
---|---|---|
committer | Michael Rennie | 2009-10-26 16:07:00 +0000 |
commit | d9c2de83b61e9f276a8a3cafad3401614133d807 (patch) | |
tree | 7d4f099046dad72810e403a2735200241bb77892 | |
parent | 940974c4722f6da48682e9f4b7d1426ef22ba7c0 (diff) | |
download | eclipse.platform.debug-d9c2de83b61e9f276a8a3cafad3401614133d807.tar.gz eclipse.platform.debug-d9c2de83b61e9f276a8a3cafad3401614133d807.tar.xz eclipse.platform.debug-d9c2de83b61e9f276a8a3cafad3401614133d807.zip |
Bug 293210 - Context launch launches shared launch configuration twice.
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java index 36029166d..820f6bdf0 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. + * Copyright (c) 2007, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Daniel Friederich (freescale) - Bug 293210 - Context launch launches shared launch configuration twice. *******************************************************************************/ package org.eclipse.debug.internal.ui.contextlaunching; @@ -122,6 +123,7 @@ public final class ContextRunner { ILaunchConfiguration config = lcm.isSharedConfig(resource); if(config != null) { launch(config, mode); + return; } //get the configurations from the resource and participants List configs = fLRM.getParticipatingLaunchConfigurations(selection, resource, shortcuts, mode); |