You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I debugged the program with windbg. After all four arrays are initialized, I ran dv:
0:000> dv
Type information missing error for some_8_bit_values
some_16_bit_values = unsigned short [4]
some_32_bit_values = unsigned int [4]
some_64_bit_values = unsigned int64 [4]
The u16, u32, and u64 values all map to well known C-types of the same width, and windbg is able to display useful information about them, as if they were typical C-arrays:
However, it appears that windbg can't do anything useful with the u8 array:
0:000> dx some_8_bit_values
Type information missing error for some_8_bit_values
Error: Unable to bind name 'some_8_bit_values'
I'm trying to write some NatVis visualizations for Rust debugging in windbg/the VS debugger, and this is making it difficult to write visualizations for std::string::String, for example.
I'd be happy to submit a patch myself, I'm just not familiar enough with the code to know where to start.
The text was updated successfully, but these errors were encountered:
I've built a rust program with this source code, compiling with the stable-x86_64-pc-windows-msvc toolchain:
I debugged the program with windbg. After all four arrays are initialized, I ran dv:
The u16, u32, and u64 values all map to well known C-types of the same width, and windbg is able to display useful information about them, as if they were typical C-arrays:
However, it appears that windbg can't do anything useful with the u8 array:
I'm trying to write some NatVis visualizations for Rust debugging in windbg/the VS debugger, and this is making it difficult to write visualizations for std::string::String, for example.
I'd be happy to submit a patch myself, I'm just not familiar enough with the code to know where to start.
The text was updated successfully, but these errors were encountered: