Skip to content

Commit

Permalink
natvis
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jun 27, 2024
1 parent b1591ec commit dd1c31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/strings/.natvis
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="windows_strings::hstring::HSTRING">
<Intrinsic Name="header" Expression="(windows_strings::hstring::Header *)__0.tag" />
<Intrinsic Name="header" Expression="(windows_strings::hstring_header::HStringHeader *)__0.tag" />
<Intrinsic Name="is_empty" Expression="__0.tag == 0" />
<DisplayString Condition="is_empty()">""</DisplayString>
<DisplayString>{header()->data,[header()->len]su}</DisplayString>
Expand Down

0 comments on commit dd1c31a

Please sign in to comment.