Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncVirtualContentTableViewer.java13
1 files changed, 10 insertions, 3 deletions
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 75ca7a25e..cb000c906 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
@@ -191,12 +191,19 @@ abstract public class AsyncVirtualContentTableViewer extends AsynchronousTableVi
getTable().setTopIndex(idx);
tableTopIndexSetComplete();
- if (getTable().getTopIndex() != idx)
+ if (getTable().getTopIndex() != idx )
{
if (AsyncVirtualContentTableViewer.DEBUG_DYNAMIC_LOADING)
- System.out.println(">>> FAILED set top index, will retry : " + ((BigInteger)topIndexKey).toString(16)); //$NON-NLS-1$
+ System.out.println(">>> FAILED set top index : " + ((BigInteger)topIndexKey).toString(16)); //$NON-NLS-1$
- fPendingTopIndexKey = topIndexKey;
+ // only retry if we have pending updates
+ if (hasPendingUpdates())
+ {
+ if (AsyncVirtualContentTableViewer.DEBUG_DYNAMIC_LOADING)
+ System.out.println(">>> Retry top index: " + ((BigInteger)topIndexKey).toString(16)); //$NON-NLS-1$
+
+ fPendingTopIndexKey = topIndexKey;
+ }
}
}
else

Back to the top