Created
April 3, 2018 16:22
-
-
Save jamesu/33b064b3cac7a23747f220947db52fb5 to your computer and use it in GitHub Desktop.
Torque3D vis rules for Visual Studio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | |
<Type Name="Vector<*>"> | |
<DisplayString>{{ size={mElementCount} }}</DisplayString> | |
<Expand> | |
<Item Name="[size]" ExcludeView="simple">mElementCount</Item> | |
<Item Name="[capacity]" ExcludeView="simple">mArraySize</Item> | |
<ArrayItems> | |
<Size>mElementCount</Size> | |
<ValuePointer>mArray</ValuePointer> | |
</ArrayItems> | |
</Expand> | |
</Type> | |
<Type Name="String"> | |
<DisplayString>{_string->mData,s8}</DisplayString> | |
<Expand> | |
<Item Name="[value]" ExcludeView="simple">_string->mData,s8</Item> | |
</Expand> | |
</Type> | |
</AutoVisualizer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment