We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5997806 commit 1528cbeCopy full SHA for 1528cbe
src/etc/natvis/libcollections.natvis
@@ -1,16 +1,16 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
3
<Type Name="collections::vec::Vec<*>">
4
- <DisplayString>{{ size={len} }}</DisplayString>
5
- <Expand>
+ <DisplayString>{{ size={len} }}</DisplayString>
+ <Expand>
6
<Item Name="[size]" ExcludeView="simple">len</Item>
7
<Item Name="[capacity]" ExcludeView="simple">buf.cap</Item>
8
<ArrayItems>
9
<Size>len</Size>
10
<ValuePointer>buf.ptr.pointer.__0</ValuePointer>
11
</ArrayItems>
12
- </Expand>
13
- </Type>
+ </Expand>
+ </Type>
14
<Type Name="collections::vec_deque::VecDeque<*>">
15
<DisplayString>{{ size={tail <= head ? head - tail : buf.cap - tail + head} }}</DisplayString>
16
<Expand>
0 commit comments