natvis display empty null strings as empty
This commit is contained in:
parent
00560af92c
commit
ebc1fdf258
9
.natvis
9
.natvis
@ -2,14 +2,12 @@
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
|
||||
<Type Name = "string">
|
||||
<DisplayString Condition="text != 0">({len}) {text, [len] s}</DisplayString>
|
||||
<DisplayString Condition="text == 0"><NULL></DisplayString>
|
||||
<DisplayString>({len}) {text, [len] s}</DisplayString>
|
||||
<StringView>text, [len] s</StringView>
|
||||
</Type>
|
||||
|
||||
<Type Name = "string16">
|
||||
<DisplayString Condition="text != 0">({len}) {text, [len] su}</DisplayString>
|
||||
<DisplayString Condition="text == 0"><NULL></DisplayString>
|
||||
<DisplayString>({len}) {text, [len] su}</DisplayString>
|
||||
<StringView>text, [len] su</StringView>
|
||||
</Type>
|
||||
|
||||
@ -41,8 +39,7 @@
|
||||
</Type>
|
||||
|
||||
<Type Name = "String">
|
||||
<DisplayString Condition="text != 0">({len}) {text, [len] s}</DisplayString>
|
||||
<DisplayString Condition="text == 0"><NULL></DisplayString>
|
||||
<DisplayString>({len}) {text, [len] s}</DisplayString>
|
||||
<StringView>text, [len]</StringView>
|
||||
</Type>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user