Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2011-05-13 18:56:29 +0000
committerMichael Rennie2011-05-13 18:56:29 +0000
commitc48016071dbe89b3eefb599ea6aa360cbdc07f87 (patch)
treed3c0ded0102859402a8e35c5071084921af67a5c
parent4863646ba51600e91182601f22d9be8481e6722e (diff)
downloadeclipse.platform.debug-R3_6_maintenance.tar.gz
eclipse.platform.debug-R3_6_maintenance.tar.xz
eclipse.platform.debug-R3_6_maintenance.zip
Bug 345760 - While stepping over a long-running operation another thread can steal selection in Debug viewR3_6_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