From 88b6959cb4a2114771d22b546f43cbdbae8f2419 Mon Sep 17 00:00:00 2001 From: SupSuper Date: Tue, 18 Dec 2018 04:45:28 +0000 Subject: MSVC: Fix HashMap visualisation showing dummy nodes --- devtools/create_project/scripts/scummvm.natvis | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'devtools/create_project') diff --git a/devtools/create_project/scripts/scummvm.natvis b/devtools/create_project/scripts/scummvm.natvis index 995668690e..e305bea74a 100644 --- a/devtools/create_project/scripts/scummvm.natvis +++ b/devtools/create_project/scripts/scummvm.natvis @@ -10,8 +10,6 @@ * Lists appear to be infinite (the same elements repeat over and over again). Unfortunately, Lists don't store length information, and it's not possible to detect whether a Node is the last one by the Node itself. - - * In HashMaps, missing and dummy nodes are shown along with the useful ones. --> @@ -56,13 +54,22 @@ _size _mask + 1 _deleted - - _mask + 1 - *_storage[$i] - + + + _size + + + *_storage[ctr],view(MapHelper) + ctr++ + + + + {_value} + + {{ empty }} {{ non-empty }} -- cgit v1.2.3