From fa99aaa391de42775f813896e5fa8e597a7e1c6d Mon Sep 17 00:00:00 2001 From: Wesley Wiser Date: Thu, 3 Feb 2022 12:35:44 -0500 Subject: [PATCH] Fix HashMap not displaying correctly in VS debugger The natvis to render HashMaps was not working correctly in Visual Studio because the type names for tuples changed from `tuple$` to `tuple$` (notice the missing space). WinDbg and cdb continued to parse this type name which is why no tests in CI broke. VS however is slightly more strict and this caused the visualizer to break. Since we cannot test the VS debugger in CI, I'm not checking in any test changes. --- src/etc/natvis/libstd.natvis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/natvis/libstd.natvis b/src/etc/natvis/libstd.natvis index c7be0167de9fd..eb2b9c848aa6f 100644 --- a/src/etc/natvis/libstd.natvis +++ b/src/etc/natvis/libstd.natvis @@ -41,7 +41,7 @@ n-- - ((tuple$<$T1, $T2>*)base.table.table.ctrl.pointer)[-(i + 1)].__1 + ((tuple$<$T1,$T2>*)base.table.table.ctrl.pointer)[-(i + 1)].__1 i++