Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2007-09-19 15:42:02 +0000
committerDarin Wright2007-09-19 15:42:02 +0000
commiteadda2d0a46aff9d21b44cf52546b9d9376dfb05 (patch)
tree131c278684a3c0d52dbd779aaa3744f4960525cd /org.eclipse.debug.ui
parent922c6e57f2d5f4be95dc5117cacb82ac1185dd73 (diff)
downloadeclipse.platform.debug-eadda2d0a46aff9d21b44cf52546b9d9376dfb05.tar.gz
eclipse.platform.debug-eadda2d0a46aff9d21b44cf52546b9d9376dfb05.tar.xz
eclipse.platform.debug-eadda2d0a46aff9d21b44cf52546b9d9376dfb05.zip
Bug 203687 - unable to launch last launched debug session
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java12
1 files changed, 7 insertions, 5 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 4e8397063..4c796df50 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
@@ -98,10 +98,10 @@ public final class ContextRunner {
ILaunchConfiguration config = null;
if(group != null) {
config = DebugUIPlugin.getDefault().getLaunchConfigurationManager().getFilteredLastLaunch(group.getIdentifier());
- }
- if(config != null) {
- launch(config, group.getMode());
- return true;
+ if(config != null) {
+ launch(config, group.getMode());
+ return true;
+ }
}
return false;
}
@@ -169,7 +169,9 @@ public final class ContextRunner {
}
}
else {
- MessageDialog.openInformation(DebugUIPlugin.getShell(), ContextMessages.ContextRunner_0, ContextMessages.ContextRunner_7);
+ if (!launchLast(group)) {
+ MessageDialog.openInformation(DebugUIPlugin.getShell(), ContextMessages.ContextRunner_0, ContextMessages.ContextRunner_7);
+ }
}
}
}

Back to the top