-
Notifications
You must be signed in to change notification settings - Fork 1
/
KrVisualizer.natvis
79 lines (72 loc) · 2.4 KB
/
KrVisualizer.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="Array_View<*>">
<DisplayString>{{ count={count} }}</DisplayString>
<Expand>
<Item Name="[count]" ExcludeView="simple">count</Item>
<ArrayItems>
<Size>count</Size>
<ValuePointer>data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="Array<*>">
<DisplayString>{{ count={count}, allocated={allocated} }}</DisplayString>
<Expand>
<Item Name="[count]" ExcludeView="simple">count</Item>
<Item Name="[allocated]" ExcludeView="simple">allocated</Item>
<Item Name="[allocator]" ExcludeView="simple">allocator</Item>
<ArrayItems>
<Size>count</Size>
<ValuePointer>data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="Index_Table">
<DisplayString>{{ count={slot_count_pow2 >> TABLE_BUCKET_SHIFT} }}</DisplayString>
<Expand>
<Item Name="[count]" ExcludeView="simple">slot_count_pow2 >> TABLE_BUCKET_SHIFT</Item>
<ArrayItems>
<Size>slot_count_pow2 >> TABLE_BUCKET_SHIFT</Size>
<ValuePointer>buckets</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="Table<*>">
<DisplayString>{{ count={storage.count} }}</DisplayString>
<Expand>
<Item Name="[index]" ExcludeView="simple">index</Item>
<Item Name="[count]" ExcludeView="simple">storage.count</Item>
<Item Name="[allocator]" ExcludeView="simple">storage.allocator</Item>
<ArrayItems>
<Size>storage.count</Size>
<ValuePointer>storage.data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="STable<*>">
<DisplayString>{{ count={storage.count} }}</DisplayString>
<Expand>
<Item Name="[index]" ExcludeView="simple">index</Item>
<Item Name="[count]" ExcludeView="simple">storage.count</Item>
<Item Name="[allocator]" ExcludeView="simple">storage.allocator</Item>
<ArrayItems>
<Size>storage.count</Size>
<ValuePointer>storage.data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="String">
<Intrinsic Name="length" Expression="length" />
<Intrinsic Name="data" Expression="data" />
<DisplayString>{data,[length]}</DisplayString>
<StringView>data,[length]</StringView>
<Expand>
<Item Name="[length]" ExcludeView="simple">length</Item>
<ArrayItems>
<Size>length</Size>
<ValuePointer>data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>