Open nanguye2496 opened 3 years ago
I've attempted to remove the whitespace between $T1 and $T2. This fix does yield the correct visualization on WinDbg, but makes VSCode and VS C++ debuggers unable to visualize Rust HashMap. Since this bug is debugger specific, the proper solution should come from the WinDbg side.
Did this issue every get fixed on the WinDbg side?
I tried to debug this program in WinDbg.
When examining the variable
map
in WinDbg, I got this visualization:The screenshot illustrates two problems:
Name
column displays meaningless numeric values (0x0, 0x1) instead of the keys.Value
column displays error messages instead of the values.These two problems are filed under the same bug report since I've discovered that they can both be tied to the same cause - WinDbg's failure to perform the casting of
base.table.ctrl.pointer
totuple<$T1, $T2>*
in HashMap's natvis entry.Meta
This bug is discovered on
rustc 1.52.0-dev
and WinDbg debugger engine version: 10.0.21306.10