Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2009-05-06 18:19:57 -0400
committerPawel Piech2009-05-06 18:19:57 -0400
commitc7f6ece4332ac509af40e9e221b9c1f05c095ba5 (patch)
treeaa3e6516a7b34a105252a6635a5e659fd6eb480a
parent897f8989ea42eacf8581b308bca0ca438e424962 (diff)
downloadeclipse.platform.debug-c7f6ece4332ac509af40e9e221b9c1f05c095ba5.tar.gz
eclipse.platform.debug-c7f6ece4332ac509af40e9e221b9c1f05c095ba5.tar.xz
eclipse.platform.debug-c7f6ece4332ac509af40e9e221b9c1f05c095ba5.zip
Bug 274205 - [breadcrumb] when a selected thread suspends, the top stack frame should be selected
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
index c40bfe37b..19d35d85d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
@@ -309,6 +309,11 @@ public class LaunchViewBreadcrumb extends AbstractBreadcrumb implements IDebugCo
fBreadcrumbInput = new Input(getPathForSelection(event.getContext()));
if ((event.getFlags() & DebugContextEvent.ACTIVATED) != 0) {
setInput(getCurrentInput());
+
+ // If the context was activated, then clear the selection in breadcrumb
+ // so that the activated context will become the active context for the
+ // window.
+ fViewer.setSelection(StructuredSelection.EMPTY);
} else {
refresh();
}

Back to the top