-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathengine.natvis
21 lines (21 loc) · 896 Bytes
/
engine.natvis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="bbe::List<*>">
<DisplayString>length = {m_length}</DisplayString>
<Expand>
<Item Name="[size]">m_length</Item>
<ArrayItems>
<Size>m_length</Size>
<ValuePointer>(($T1*)m_allocBlock.data)</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="bbe::Utf8String">
<Intrinsic Name="capacity" Expression="m_data.m_capacity" />
<Intrinsic Name="sooSize" Expression="16" />
<Intrinsic Name="isSoo" Expression="capacity() <= sooSize()" />
<Intrinsic Name="isNotSoo" Expression="capacity() > sooSize()" />
<DisplayString Condition="isSoo()">{m_data.m_sooData,na}</DisplayString>
<DisplayString Condition="isNotSoo()">{m_data.m_pdata,na}</DisplayString>
</Type>
</AutoVisualizer>