diff options
author | Darin Wright | 2006-05-10 14:39:53 +0000 |
---|---|---|
committer | Darin Wright | 2006-05-10 14:39:53 +0000 |
commit | 2542807e0f00ecbea1a27aafe70b45bce0c62578 (patch) | |
tree | f2889a3d403fa3b5966e5677ecec7324583e2b53 /org.eclipse.debug.ui/ui/org/eclipse/debug | |
parent | 77c1612e00ddb2896b47f27558a3c463197adae0 (diff) | |
download | eclipse.platform.debug-2542807e0f00ecbea1a27aafe70b45bce0c62578.tar.gz eclipse.platform.debug-2542807e0f00ecbea1a27aafe70b45bce0c62578.tar.xz eclipse.platform.debug-2542807e0f00ecbea1a27aafe70b45bce0c62578.zip |
Bug 139079 - Left-over instruction pointer after debug is terminated
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug')
2 files changed, 1 insertions, 20 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousViewer.java index 30e48efab..ff7235ba2 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousViewer.java @@ -1096,18 +1096,7 @@ public abstract class AsynchronousViewer extends StructuredViewer implements Lis if (DEBUG_VIEWER) { DebugUIPlugin.debug("\titem mapped: " + node); //$NON-NLS-1$ } - - if (preserveSelectionForSetData()) { - final ModelNode child = node; - preservingSelection(new Runnable() { - public void run() { - internalRefresh(child); - } - }); - } - else { - internalRefresh(node); - } + internalRefresh(node); } else { if (DEBUG_VIEWER) { DebugUIPlugin.debug("\tFAILED - unable to find corresponding node"); //$NON-NLS-1$ @@ -1143,11 +1132,6 @@ public abstract class AsynchronousViewer extends StructuredViewer implements Lis return fSetDataIndicies[level]; } - protected boolean preserveSelectionForSetData() - { - return true; - } - protected abstract int indexOf(Widget parent, Widget child); protected abstract void restoreLabels(Item item); diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncVirtualContentTableViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncVirtualContentTableViewer.java index cb8d7a4ac..fa216a5ad 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncVirtualContentTableViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncVirtualContentTableViewer.java @@ -465,7 +465,4 @@ abstract public class AsyncVirtualContentTableViewer extends AsynchronousTableVi return !fTopIndexQueue.isEmpty(); } - protected boolean preserveSelectionForSetData() { - return false; - } } |