-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfire.natvis
35 lines (29 loc) · 1.02 KB
/
fire.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
<?xml version="1.0" encoding="utf-8"?>
<!--
This file contains instructions for the Visual Studio debugger for how to display
certain data structures in a nicer way in the debugger watch window.
Expressions in the debugger - Format Specifiers in C++
https://msdn.microsoft.com/en-us/library/75w45ekt.aspx?f=255&MSPPError=-2147217396
Create custom views of native objects in the Visual Studio debugger
https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects
-->
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="STR_View">
<DisplayString>{data,[size]s}</DisplayString>
<Expand>
<ArrayItems>
<Size>size</Size>
<ValuePointer>data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="DS_DynArray<*>">
<DisplayString>{{data={(void*)data}, count={count}}}</DisplayString>
<Expand>
<ArrayItems>
<Size>count</Size>
<ValuePointer>data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>