-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcore.natvis
More file actions
95 lines (91 loc) · 3.85 KB
/
core.natvis
File metadata and controls
95 lines (91 loc) · 3.85 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!-- hud::memory_allocation<T> -->
<Type Name="hud::memory_allocation<*>">
<DisplayString>Ptr = {begin_ptr_}</DisplayString>
<Expand>
<Item Name="size">end_ptr_ - begin_ptr_</Item>
<ArrayItems>
<Size> end_ptr_ - begin_ptr_ </Size>
<ValuePointer> begin_ptr_ </ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- hud::optional<T> -->
<Type Name="hud::optional<*>">
<DisplayString Condition="some == true">{some_value}</DisplayString>
<DisplayString Condition="some == false">None</DisplayString>
</Type>
<!-- hud::compressed_pair<F,S> -->
<Type Name="hud::details::compressed_pair::compress_pair_impl<*, *, 0,0>">
<DisplayString>({this->type_1_}, {this->type_2_})</DisplayString>
<Expand>
<Item Name="first">type_1_</Item>
<Item Name="second">type_2_</Item>
</Expand>
</Type>
<Type Name="hud::details::compressed_pair::compress_pair_impl<*, *, 1,0>">
<DisplayString>({*($T1*)this}, {this->type_2_})</DisplayString>
<Expand>
<Item Name="first">($T1*)this</Item>
<Item Name="second">type_2_</Item>
</Expand>
</Type>
<Type Name="hud::details::compressed_pair::compress_pair_impl<*, *, 0,1>">
<DisplayString>({{this->type_1_}, *($T2*)this})</DisplayString>
<Expand>
<Item Name="first">type_1_</Item>
<Item Name="second">($T2*)this</Item>
</Expand>
</Type>
<Type Name="hud::details::compressed_pair::compress_pair_impl<*, *, 1,1>">
<DisplayString>({*($T1*)this}, *($T2*)this})</DisplayString>
<Expand>
<Item Name="first">($T1*)this</Item>
<Item Name="second">($T2*)this</Item>
</Expand>
</Type>
<!-- hud::vector<T> -->
<Type Name="hud::vector<*>">
<DisplayString
Condition="compressed_allocator_.type_2_.end_ptr_ - compressed_allocator_.type_2_.begin_ptr_ == 0">
Size = {compressed_allocator_.type_2_.end_ptr_ - compressed_allocator_.type_2_.begin_ptr_}</DisplayString>
<DisplayString
Condition="compressed_allocator_.type_2_.end_ptr_ - compressed_allocator_.type_2_.begin_ptr_ > 0">
Size = {compressed_allocator_.type_2_.end_ptr_ - compressed_allocator_.type_2_.begin_ptr_},
Ptr = {compressed_allocator_.type_2_.begin_ptr_} </DisplayString>
<Expand>
<Item
Condition="compressed_allocator_.type_2_.end_ptr_ - compressed_allocator_.type_2_.begin_ptr_ > 0"
Name="Size">compressed_allocator_.type_2_.end_ptr_ -
compressed_allocator_.type_2_.begin_ptr_</Item>
<ArrayItems>
<Size>compressed_allocator_.type_2_.end_ptr_ - compressed_allocator_.type_2_.begin_ptr_</Size>
<ValuePointer>compressed_allocator_.type_2_.begin_ptr_</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- hud::string -->
<Type Name="hud::string">
<DisplayString
Condition="bytes_.compressed_allocator_.type_2_.end_ptr_ - bytes_.compressed_allocator_.type_2_.begin_ptr_ == 0">
Empty
</DisplayString>
<DisplayString
Condition="bytes_.compressed_allocator_.type_2_.end_ptr_ - bytes_.compressed_allocator_.type_2_.begin_ptr_ > 0">
{bytes_.compressed_allocator_.type_2_.begin_ptr_,s8}
</DisplayString>
<Expand>
<Item
Condition="bytes_.compressed_allocator_.type_2_.end_ptr_ - bytes_.compressed_allocator_.type_2_.begin_ptr_ > 0"
Name="Size">
bytes_.compressed_allocator_.type_2_.end_ptr_ -
bytes_.compressed_allocator_.type_2_.begin_ptr_
</Item>
<ArrayItems>
<Size>bytes_.compressed_allocator_.type_2_.end_ptr_ - bytes_.compressed_allocator_.type_2_.begin_ptr_</Size>
<ValuePointer>bytes_.compressed_allocator_.type_2_.begin_ptr_</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>