Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-05-10 10:39:53 -0400
committerDarin Wright2006-05-10 10:39:53 -0400
commit2542807e0f00ecbea1a27aafe70b45bce0c62578 (patch)
treef2889a3d403fa3b5966e5677ecec7324583e2b53
parent77c1612e00ddb2896b47f27558a3c463197adae0 (diff)
downloadeclipse.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
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousViewer.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncVirtualContentTableViewer.java3
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;
- }
}

Back to the top