-
Notifications
You must be signed in to change notification settings - Fork 2
/
sho.natvis
26 lines (23 loc) · 960 Bytes
/
sho.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
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!-- VC 2015 -->
<Type Name="sho::smo<*,*,*,*,*,*,*>">
<DisplayString Condition="_cnt <= 1000">{{ size={_cnt} }}</DisplayString>
<DisplayString Condition="_cnt > 1000">{*(Map *)_cnt}</DisplayString>
<Expand>
<ExpandedItem Condition="_cnt > 1000">(Map *)_cnt</ExpandedItem>
<ArrayItems Condition="_cnt <= 1000">
<Size>_cnt</Size>
<ValuePointer>_items</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="sho::ShoIterator<*,*>">
<DisplayString Condition="_p!=0">{*_p}</DisplayString>
<DisplayString Condition="_p==0">{_it}</DisplayString>
<Expand>
<ExpandedItem Condition="_p!=0">*_p</ExpandedItem>
<ExpandedItem Condition="_p==0">_it</ExpandedItem>
</Expand>
</Type>
</AutoVisualizer>