90 lines
3.5 KiB
XML
90 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<Type Name = "v2">
|
|
<DisplayString>({x}, {y})</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name = "string">
|
|
<DisplayString>({len}) {text, [len] s}</DisplayString>
|
|
<StringView>text, [len] s</StringView>
|
|
</Type>
|
|
|
|
<Type Name = "string16">
|
|
<DisplayString>({len}) {text, [len] su}</DisplayString>
|
|
<StringView>text, [len] su</StringView>
|
|
</Type>
|
|
|
|
<Type Name = "arena">
|
|
<DisplayString>pos: {pos}, committed: [{committed} / {reserved}]</DisplayString>
|
|
<Expand>
|
|
<Item Name="Data">base, [pos] s</Item>
|
|
<Item Name="Data (Extended)">base, [pos+100] s</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name = "arena_temp">
|
|
<DisplayString>start: {start_pos}, arena: {{{*arena}}}</DisplayString>
|
|
<Expand>
|
|
<Item Name="Data">(arena->base + start_pos), [arena->pos - start_pos] s</Item>
|
|
<Item Name="Data (Extended)">(arena->base + start_pos), [arena->pos - start_pos + 100] s</Item>
|
|
<Item Name="Size">arena->pos - start_pos</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name = "bitbuf">
|
|
<DisplayString>bits: [{cur_bit} / {data_nbits}], bytes: [{cur_bit / 8} / {data_nbits / 8}]</DisplayString>
|
|
<Expand>
|
|
<ArrayItems>
|
|
<Size>(cur_bit + 7) / 8</Size>
|
|
<ValuePointer>data, bb</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name = "uid">
|
|
<DisplayString>[{(u32)(hi >> 32), xb}]{((u32)(hi & 0xFFFFFFFF)), xb}{lo, xb}</DisplayString>
|
|
<Expand>
|
|
<Item Name="hi">hi, x</Item>
|
|
<Item Name="lo">lo, x</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name = "sim_ent_id">
|
|
<DisplayString Condition="uid.hi == 0 && uid.lo == 0">[NIL]</DisplayString>
|
|
<DisplayString Condition="uid.hi == 0x66a36cc2bcc752da && uid.lo == 0x6c286c09b366eae6">[ROOT]</DisplayString>
|
|
<DisplayString>[{(u32)(uid.hi >> 32), xb}]</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name = "sim_ent">
|
|
<DisplayString Condition="(valid == 0 || (id.uid.hi == 0 && id.uid.lo == 0)) && this != *_g_sim_ent_nil">~~~MISMATCH~~~ {id} <{this - this->ss->ents}></DisplayString>
|
|
<DisplayString Condition="valid == 1 && (id.uid.hi == 0 || id.uid.lo == 0)">~~~MISMATCH~~~ {id} <{this - this->ss->ents}></DisplayString>
|
|
<DisplayString Condition="this == *_g_sim_ent_nil">{id}</DisplayString>
|
|
<DisplayString>{id} <{this - this->ss->ents}></DisplayString>
|
|
|
|
</Type>
|
|
|
|
<Type Name = "String">
|
|
<DisplayString>({len}) {text, [len] s}</DisplayString>
|
|
<StringView>text, [len]</StringView>
|
|
</Type>
|
|
|
|
<Type Name = "Arena">
|
|
<DisplayString>pos: {pos}, committed: [{committed} / {reserved}]</DisplayString>
|
|
<Expand>
|
|
<Item Name="Data">base, [pos] s</Item>
|
|
<Item Name="Data (Extended)">base, [pos+100] s</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name = "TempArena">
|
|
<DisplayString>start: {start_pos}, arena: {{{*arena}}}</DisplayString>
|
|
<Expand>
|
|
<Item Name="Data">(arena->base + start_pos), [arena->pos - start_pos] s</Item>
|
|
<Item Name="Data (Extended)">(arena->base + start_pos), [arena->pos - start_pos + 100] s</Item>
|
|
<Item Name="Size">arena->pos - start_pos</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
</AutoVisualizer>
|