natvis support in build system + some natvis
This commit is contained in:
1 parent
2fd675cf11
commit
1367146503
5 files changed
+137
-6
No files matched your search
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
<Type Name="String8">
|
||||
<DisplayString Condition="Str == 0 || Size == 0"><empty></DisplayString>
|
||||
<DisplayString>{Str,[Size]s8}</DisplayString>
|
||||
<StringView>Str,[Size]s8</StringView>
|
||||
<Expand>
|
||||
<Item Name="[size]">Size</Item>
|
||||
<ArrayItems>
|
||||
<Size>Size</Size>
|
||||
<ValuePointer>Str</ValuePointer>
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="String16">
|
||||
<DisplayString Condition="Str == 0 || Size == 0"><empty></DisplayString>
|
||||
<DisplayString>{Str,[Size]su}</DisplayString>
|
||||
<StringView>Str,[Size]su</StringView>
|
||||
<Expand>
|
||||
<Item Name="[size]">Size</Item>
|
||||
<ArrayItems>
|
||||
<Size>Size</Size>
|
||||
<ValuePointer>Str</ValuePointer>
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="StringBuffer">
|
||||
<DisplayString Condition="Str == 0 || Size == 0"><empty> (capacity={Capacity})</DisplayString>
|
||||
<DisplayString>{Str,[Size]s8} (capacity={Capacity})</DisplayString>
|
||||
<StringView>Str,[Size]s8</StringView>
|
||||
<Expand>
|
||||
<Item Name="[size]">Size</Item>
|
||||
<Item Name="[capacity]">Capacity</Item>
|
||||
<ArrayItems>
|
||||
<Size>Size</Size>
|
||||
<ValuePointer>Str</ValuePointer>
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
</AutoVisualizer>
|
||||
Reference in new issue
Block a user