diff options
author | Samantha Chan | 2007-04-25 18:39:20 +0000 |
---|---|---|
committer | Samantha Chan | 2007-04-25 18:39:20 +0000 |
commit | 1062b3f1b114a3cfcfc1f08d0bc2d74d2c1530c9 (patch) | |
tree | 2cb12fc9c1d16eeaa918e01f8c71571534bac219 | |
parent | 3524b676ba44d91508e9a9d3d1c7ec639e4a1674 (diff) | |
download | eclipse.platform.debug-1062b3f1b114a3cfcfc1f08d0bc2d74d2c1530c9.tar.gz eclipse.platform.debug-1062b3f1b114a3cfcfc1f08d0bc2d74d2c1530c9.tar.xz eclipse.platform.debug-1062b3f1b114a3cfcfc1f08d0bc2d74d2c1530c9.zip |
Bug 183019 - [Memory View] Reset does not position the base address to the top
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncVirtualContentTableViewer.java | 13 |
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 |