Skip to content

Commit

Permalink
natvis tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jun 27, 2024
1 parent dd1c31a commit 4c088d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/libs/strings/.natvis
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?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::HStringHeader *)__0.tag" />
<Intrinsic Name="is_empty" Expression="__0.tag == 0" />
<Intrinsic Name="header" Expression="(windows_strings::hstring_header::HStringHeader *)__0" />
<Intrinsic Name="is_empty" Expression="__0 == 0" />
<DisplayString Condition="is_empty()">""</DisplayString>
<DisplayString>{header()->data,[header()->len]su}</DisplayString>

Expand Down

0 comments on commit 4c088d7

Please sign in to comment.