From 764537d049f138a2631d145bd43360d523f63ae1 Mon Sep 17 00:00:00 2001 From: John Cortell Date: Tue, 22 Sep 2009 18:33:19 +0000 Subject: [PATCH] Added assert --- .../cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java index 4bb7c8080bc..fc64baafc3a 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/update/AbstractCachingVMProvider.java @@ -619,6 +619,8 @@ public class AbstractCachingVMProvider extends AbstractVMProvider } if (childrenMissingFromCache.size() > 0) { + assert !entry.fAllChildrenKnown : "If the cache says it knows all the children, how did we end up with unknown children?"; //$NON-NLS-1$ + // Some children were not found in the cache, create separate // proxy updates for the continuous ranges of missing children. List partialUpdates = new ArrayList(2);