Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java
index b7214cdd2..2bc1e3f4b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java
@@ -221,7 +221,12 @@ public abstract class AbstractLaunchHistoryAction implements IWorkbenchWindowPul
* action's launch history that is not filtered from the menu
*/
protected ILaunchConfiguration getLastLaunch() {
- return getLaunchConfigurationManager().getFilteredLastLaunch(getLaunchGroupIdentifier());
+ LaunchConfigurationManager manager = getLaunchConfigurationManager();
+ ILaunchConfiguration configuration = manager.getLastLaunch(getLaunchGroupIdentifier());
+ if (configuration == null) {
+ return manager.getFilteredLastLaunch(getLaunchGroupIdentifier());
+ }
+ return configuration;
}
/**

Back to the top