natvis for RDI Make types

This commit is contained in:
Nikita Smith
2025-03-12 14:52:09 -07:00
parent 3eedcb1912
commit 631106b0a8
+28
View File
@@ -162,4 +162,32 @@
</LinkedListItems>
</Expand>
</Type>
<Type Name="RDIM_TypeChunkList">
<AlternativeType Name="RDIM_SrcFileChunkList"/>
<AlternativeType Name="RDIM_LineTableChunkList"/>
<AlternativeType Name="RDIM_UnitChunkList"/>
<AlternativeType Name="RDIM_UDTChunkList"/>
<AlternativeType Name="RDIM_SymbolChunkList"/>
<AlternativeType Name="RDIM_InlineSiteChunkList"/>
<AlternativeType Name="RDIM_ScopeChunkList"/>
<Expand>
<Item Name="[chunk count]">chunk_count</Item>
<CustomListItems MaxItemsPerView="5000">
<Variable Name="node" InitialValue="first"/>
<Variable Name="idx" InitialValue="0"/>
<Loop>
<Break Condition="node == 0"/>
<Exec>idx = 0</Exec>
<Loop>
<Break Condition="idx >= node->count"/>
<Item>node->v[idx]</Item>
<Exec>idx += 1</Exec>
</Loop>
<Exec>node = node->next</Exec>
</Loop>
</CustomListItems>
</Expand>
</Type>
</AutoVisualizer>