diff options
author | Pawel Piech | 2009-05-06 22:19:57 +0000 |
---|---|---|
committer | Pawel Piech | 2009-05-06 22:19:57 +0000 |
commit | c7f6ece4332ac509af40e9e221b9c1f05c095ba5 (patch) | |
tree | aa3e6516a7b34a105252a6635a5e659fd6eb480a | |
parent | 897f8989ea42eacf8581b308bca0ca438e424962 (diff) | |
download | eclipse.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.java | 5 |
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(); } |