-
Notifications
You must be signed in to change notification settings - Fork 13
/
raco.natvis
32 lines (26 loc) · 1.09 KB
/
raco.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
<?xml version="1.0" encoding="utf-8"?>
<!-- To make use of this file copy it to %USERPROFILE%\My Documents\Visual Studio 2013\Visualizers\ -->
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="raco::core::EditorObject">
<DisplayString>{{$(Type), {objectName_.value_}, {objectID_.value_} }}</DisplayString>
</Type>
<Type Name="raco::data_storage::Value<*>">
<DisplayString>{{ {value_} }}</DisplayString>
</Type>
<Type Name="raco::data_storage::Value<raco::data_storage::Table>">
<DisplayString>{{value = {value_} }}</DisplayString>
<Expand>
<CustomListItems>
<Variable Name="index" InitialValue="-1"/>
<Size>value_.properties_.size()</Size>
<Loop>
<Exec>++index</Exec>
<Item Name="{value_.properties_[index].first}">*value_.properties_[index].second</Item>
</Loop>
</CustomListItems>
</Expand>
</Type>
<Type Name="raco::core::ValueHandle">
<DisplayString>{{ {*object_}, {&indices_[0], [indices_.size()] na }}</DisplayString>
</Type>
</AutoVisualizer>