Skip to content

Commit

Permalink
natvis
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jun 25, 2024
1 parent 25ff9a8 commit ba7e5a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions crates/libs/strings/.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@
</Synthetic>
</Expand>
</Type>

<Type Name="windows_strings::ref_count::RefCount">
<DisplayString>{__0}</DisplayString>
</Type>
</AutoVisualizer>
2 changes: 1 addition & 1 deletion crates/tests/debugger_visualizer/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ empty : "" [Type: windows_strings::hstring::HSTRING]
hstring : "This is an HSTRING" [Type: windows_strings::hstring::HSTRING]
[<Raw View>] [Type: windows_strings::hstring::HSTRING]
[len] : 0x12 [Type: unsigned int]
[ref_count] : 1 [Type: windows_core::imp::ref_count::RefCount]
[ref_count] : 1 [Type: windows_strings::ref_count::RefCount]
[flags] : 0x0 [Type: unsigned int]
[chars]
[0] : 0x54 'T' [Type: char16_t]
Expand Down

0 comments on commit ba7e5a8

Please sign in to comment.