Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2011-05-13 16:20:06 -0400
committerMichael Rennie2011-05-13 16:20:06 -0400
commitd308b6f14641ec9004d71d2fd3819a89821f3f4b (patch)
tree94b17884f48f6c8f66aaf8d1d93d956eea9cdf59
parent4edba81e6fb8fbfcf729f9da6104dd86b72901ff (diff)
downloadeclipse.platform.debug-R3_5_maintenance.tar.gz
eclipse.platform.debug-R3_5_maintenance.tar.xz
eclipse.platform.debug-R3_5_maintenance.zip
Bug 345761 - While stepping over a long-running operation another thread can steal selection in Debug view.R3_5_maintenance
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java
index a19cf97d2..424bfd9e4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2009 IBM Corporation and others.
+ * Copyright (c) 2005, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -102,7 +102,7 @@ public class DefaultSelectionPolicy implements IModelSelectionPolicy {
protected boolean isSticky(Object element) {
if (element instanceof IStackFrame) {
IStackFrame frame = (IStackFrame) element;
- return frame.isSuspended();
+ return frame.isSuspended() || frame.isStepping();
}
return false;
}

Back to the top