update natvis to match changed RawVec structure
This commit is contained in:
parent
81997094e6
commit
f6150db78f
@ -4,7 +4,7 @@
|
|||||||
<DisplayString>{{ len={len} }}</DisplayString>
|
<DisplayString>{{ len={len} }}</DisplayString>
|
||||||
<Expand>
|
<Expand>
|
||||||
<Item Name="[len]" ExcludeView="simple">len</Item>
|
<Item Name="[len]" ExcludeView="simple">len</Item>
|
||||||
<Item Name="[capacity]" ExcludeView="simple">buf.cap</Item>
|
<Item Name="[capacity]" ExcludeView="simple">buf.cap.__0</Item>
|
||||||
<ArrayItems>
|
<ArrayItems>
|
||||||
<Size>len</Size>
|
<Size>len</Size>
|
||||||
<ValuePointer>buf.ptr.pointer.pointer</ValuePointer>
|
<ValuePointer>buf.ptr.pointer.pointer</ValuePointer>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
<DisplayString>{{ len={len} }}</DisplayString>
|
<DisplayString>{{ len={len} }}</DisplayString>
|
||||||
<Expand>
|
<Expand>
|
||||||
<Item Name="[len]" ExcludeView="simple">len</Item>
|
<Item Name="[len]" ExcludeView="simple">len</Item>
|
||||||
<Item Name="[capacity]" ExcludeView="simple">buf.cap</Item>
|
<Item Name="[capacity]" ExcludeView="simple">buf.cap.__0</Item>
|
||||||
<CustomListItems>
|
<CustomListItems>
|
||||||
<Variable Name="i" InitialValue="0" />
|
<Variable Name="i" InitialValue="0" />
|
||||||
<Size>len</Size>
|
<Size>len</Size>
|
||||||
@ -23,7 +23,7 @@
|
|||||||
<If Condition="i == len">
|
<If Condition="i == len">
|
||||||
<Break/>
|
<Break/>
|
||||||
</If>
|
</If>
|
||||||
<Item>buf.ptr.pointer.pointer[(i + head) % buf.cap]</Item>
|
<Item>buf.ptr.pointer.pointer[(i + head) % buf.cap.__0]</Item>
|
||||||
<Exec>i = i + 1</Exec>
|
<Exec>i = i + 1</Exec>
|
||||||
</Loop>
|
</Loop>
|
||||||
</CustomListItems>
|
</CustomListItems>
|
||||||
@ -45,7 +45,7 @@
|
|||||||
<StringView>(char*)vec.buf.ptr.pointer.pointer,[vec.len]s8</StringView>
|
<StringView>(char*)vec.buf.ptr.pointer.pointer,[vec.len]s8</StringView>
|
||||||
<Expand>
|
<Expand>
|
||||||
<Item Name="[len]" ExcludeView="simple">vec.len</Item>
|
<Item Name="[len]" ExcludeView="simple">vec.len</Item>
|
||||||
<Item Name="[capacity]" ExcludeView="simple">vec.buf.cap</Item>
|
<Item Name="[capacity]" ExcludeView="simple">vec.buf.cap.__0</Item>
|
||||||
<Synthetic Name="[chars]">
|
<Synthetic Name="[chars]">
|
||||||
<DisplayString>{(char*)vec.buf.ptr.pointer.pointer,[vec.len]s8}</DisplayString>
|
<DisplayString>{(char*)vec.buf.ptr.pointer.pointer,[vec.len]s8}</DisplayString>
|
||||||
<Expand>
|
<Expand>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user