Skip to main content
diff options
authorSimeon Andreev2018-09-03 14:55:09 +0000
committerSimeon Andreev2018-09-12 07:52:57 +0000
commit927fcf00cd9a746968c4e8a2d2f29ecfd6a2e937 (patch)
parent429be954283cd8253bb30b7fd8cd28ff8af5abf0 (diff)
Bug 538548 - Debug View in another perspective causes editor to pop-upY20180912-2200I20180913-1800I20180913-0415I20180912-2240
If a window has the Debug View open in an inactive perspective, breakpoint hits will cause an editor to open in that window. This hinders the use of multiple windows, each with a different type of perspective. Only windows which have the Debug View in their active perspective should show source on breakpoint hit. The editor is activated due to the Debug View reacting to selection events, which occur due to breakpoint hits. This change ensures that the Debug View will react to selection events only if its active. I.e. only if the active perspective of the window contains the Debug View. Change-Id: Ida92f5322e1a83b95af4bc43f25a9fac9d4519b6 Signed-off-by: Simeon Andreev <>
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/
index e293d5ced..df5fe6ded 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/
@@ -474,7 +474,9 @@ public class LaunchView extends AbstractDebugView
private ISelectionChangedListener fTreeViewerSelectionChangedListener = new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
- fTreeViewerDebugContextProvider.activate(event.getSelection());
+ if (isActive()) {
+ fTreeViewerDebugContextProvider.activate(event.getSelection());
+ }

Back to the top