-
Notifications
You must be signed in to change notification settings - Fork 15
/
System.natvis
25 lines (24 loc) · 1015 Bytes
/
System.natvis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="Kaguya::Internal::InlineAllocator<*>">
<DisplayString Condition="SizeInBytes == 0xcccccccc">Uninitialized</DisplayString>
<DisplayString Condition="SizeInBytes == 0">Null</DisplayString>
<DisplayString Condition="SizeInBytes <= $T1">Stack Memory: {SizeInBytes} bytes</DisplayString>
<DisplayString Condition="SizeInBytes > $T1">Heap Memory: {SizeInBytes} bytes</DisplayString>
<Expand>
<Item Name="Storage" Condition="SizeInBytes <= $T1">(void*)Buffer</Item>
<Item Name="Storage" Condition="SizeInBytes > $T1">Ptr</Item>
<Item Name="SizeInBytes">SizeInBytes</Item>
</Expand>
</Type>
<Type Name="Span<*>">
<DisplayString>{{Size={Size}}}</DisplayString>
<Expand>
<Item Name="[Size]">Size</Item>
<ArrayItems>
<Size>Size</Size>
<ValuePointer>Data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>