Fixed Visual Studio Natvis file after recent refactoring (#1299)

This commit is contained in:
umanamente 2018-07-08 23:27:26 -07:00 committed by Daniel Marjamäki
parent 03faa25d12
commit 44416862c0
1 changed files with 17 additions and 8 deletions

View File

@ -1,21 +1,26 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="Token"> <Type Name="Token">
<DisplayString>{_str}</DisplayString> <DisplayString>{mStr}</DisplayString>
</Type> </Type>
<Type Name="TokensFrontBack">
<DisplayString>{front->mStr} - {back->mStr}</DisplayString>
</Type>
<Type Name="TokenList"> <Type Name="TokenList">
<DisplayString>{_front->_str} - {_back->_str}</DisplayString> <DisplayString>{mTokensFrontBack.front->mStr} - {mTokensFrontBack.back->mStr}</DisplayString>
<Expand> <Expand>
<Item Name="[files]">_files</Item> <Item Name="[files]">mFiles</Item>
<CustomListItems Optional="true" MaxItemsPerView="5000"> <CustomListItems Optional="true" MaxItemsPerView="5000">
<Variable Name="pCurr" InitialValue="_front" /> <Variable Name="pCurr" InitialValue="mTokensFrontBack.front" />
<Loop> <Loop>
<If Condition="pCurr == _back"> <If Condition="pCurr == mTokensFrontBack.back">
<Break Condition="1"/> <Break Condition="1"/>
</If> </If>
<Item>pCurr</Item> <Item>pCurr</Item>
<Exec>pCurr = pCurr->_next</Exec> <Exec>pCurr = pCurr->mNext</Exec>
</Loop> </Loop>
</CustomListItems> </CustomListItems>
@ -23,7 +28,11 @@
</Type> </Type>
<Type Name="Variable"> <Type Name="Variable">
<DisplayString>{_name->_str}</DisplayString> <DisplayString>{mNameToken->mStr}</DisplayString>
</Type>
<Type Name="Function">
<DisplayString>{tokenDef->mStr}</DisplayString>
</Type> </Type>
<Type Name="Dimension"> <Type Name="Dimension">