diff options
author | Darin Wright | 2005-09-13 20:57:20 +0000 |
---|---|---|
committer | Darin Wright | 2005-09-13 20:57:20 +0000 |
commit | 0ebc6406ac5928d24286b641ef2c251a03af2660 (patch) | |
tree | f494fe019e45b7252fa54d1a8086980b443ed097 /org.eclipse.debug.ui | |
parent | 1bf101d5ea5754c413660dc4b1eaf16dad050738 (diff) | |
download | eclipse.platform.debug-0ebc6406ac5928d24286b641ef2c251a03af2660.tar.gz eclipse.platform.debug-0ebc6406ac5928d24286b641ef2c251a03af2660.tar.xz eclipse.platform.debug-0ebc6406ac5928d24286b641ef2c251a03af2660.zip |
re-select the stack frame when specified
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java index 933abb207..a03f699a2 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java @@ -806,9 +806,7 @@ public class LaunchView extends AbstractDebugEventHandlerView implements ISelect if (treePaths != null) { viewer.expand(new TreeSelection(treePaths)); if (selectNeeded) { - if (!frame.equals(fStackFrame)) { - viewer.setSelection(new TreeSelection(treePaths)); - } + viewer.setSelection(new TreeSelection(treePaths)); } } else { ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager(); @@ -818,7 +816,9 @@ public class LaunchView extends AbstractDebugEventHandlerView implements ISelect TreePath treePath = new TreePath(new Object[] {launchManager, launch, debugTarget, thread, frame}); viewer.expand(new TreeSelection(new TreePath[] {treePath})); - viewer.setSelection(new TreeSelection(new TreePath[] {treePath})); + if (selectNeeded) { + viewer.setSelection(new TreeSelection(new TreePath[] {treePath})); + } } } } |