-
Notifications
You must be signed in to change notification settings - Fork 0
/
KryneEngine.natvis
47 lines (43 loc) · 2.47 KB
/
KryneEngine.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
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="KryneEngine::DynamicArray<*>">
<DisplayString Condition="m_count == 0">[{mpEnd - mpBegin}] {{}}</DisplayString>
<DisplayString Condition="m_count == 1">[{mpEnd - mpBegin}] {{ {*m_array} }}</DisplayString>
<DisplayString Condition="m_count == 2">[{mpEnd - mpBegin}] {{ {*m_array}, {*(m_array+1)} }}</DisplayString>
<DisplayString Condition="m_count == 3">[{mpEnd - mpBegin}] {{ {*m_array}, {*(m_array+1)}, {*(m_array+2)} }}</DisplayString>
<DisplayString Condition="m_count == 4">[{mpEnd - mpBegin}] {{ {*m_array}, {*(m_array+1)}, {*(m_array+2)}, {*(m_array+3)} }}</DisplayString>
<DisplayString Condition="m_count == 5">[{mpEnd - mpBegin}] {{ {*m_array}, {*(m_array+1)}, {*(m_array+2)}, {*(m_array+3)}, {*(m_array+4)} }}</DisplayString>
<DisplayString Condition="m_count == 6">[{mpEnd - mpBegin}] {{ {*m_array}, {*(m_array+1)}, {*(m_array+2)}, {*(m_array+3)}, {*(m_array+4)}, {*(m_array+5)} }}</DisplayString>
<DisplayString Condition="m_count > 6">[{mpEnd - mpBegin}] {{ {*m_array}, {*(m_array+1)}, {*(m_array+2)}, {*(m_array+3)}, {*(m_array+4)}, {*(m_array+5)}, ... }}</DisplayString>
<Expand>
<Item Name="[size]">m_count</Item>
<ArrayItems>
<Size>m_count</Size>
<ValuePointer>m_array</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="KryneEngine::FiberTls<*>">
<DisplayString>{{ FiberTls }}</DisplayString>
<Expand>
<Item Name="[size]">m_array.m_count</Item>
<ArrayItems>
<Size>m_array.m_count</Size>
<ValuePointer>m_array.m_array</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="KryneEngine::SharedObject<*,*>">
<DisplayString>{{ {m_object} }}</DisplayString>
<Expand>
<Item Name="[object]">m_object</Item>
</Expand>
</Type>
<Type Name="KryneEngine::SharedObject<*,*>::Ref">
<DisplayString Condition="m_sharedObject == 0">{{ No referenced object }}</DisplayString>
<DisplayString Condition="m_sharedObject != 0">{{ {m_sharedObject->m_object} }}</DisplayString>
<Expand>
<Item Name="[object]" Condition="m_sharedObject != 0">m_sharedObject->m_object</Item>
</Expand>
</Type>
</AutoVisualizer>