diff options
author | Michael Rennie | 2011-05-16 18:42:53 +0000 |
---|---|---|
committer | Michael Rennie | 2011-05-16 18:42:53 +0000 |
commit | 7a549e700acf694c38d5a89e5533b990822f34ff (patch) | |
tree | 09bd492343cd531bc721b68c6a1c2636a51cad52 /org.eclipse.debug.ui/ui/org/eclipse/debug | |
parent | e5169b603003ffa08a23f1a5e73e410a7892e0d7 (diff) | |
download | eclipse.platform.debug-7a549e700acf694c38d5a89e5533b990822f34ff.tar.gz eclipse.platform.debug-7a549e700acf694c38d5a89e5533b990822f34ff.tar.xz eclipse.platform.debug-7a549e700acf694c38d5a89e5533b990822f34ff.zip |
[r342] Bug 345759 - While stepping over a long-running operation another thread can steal selection in Debug view.R3_4_maintenance
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java | 4 |
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 5c3f31528..d71a27114 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, 2007 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 @@ -98,7 +98,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; } |