Browse Source

Added LocalVector to Visual Studio debugger visualization

(cherry picked from commit 27d5e1fff01b014e90829f7a3cf320198b164e5a)
PouleyKetchoupp 4 years ago
parent
commit
ea1d4256a4
1 changed files with 10 additions and 0 deletions
  1. 10 0
      platform/windows/godot.natvis

+ 10 - 0
platform/windows/godot.natvis

@@ -10,6 +10,16 @@
 		</Expand>
 	</Type>
 
+	<Type Name="LocalVector&lt;*&gt;">
+		<Expand>
+			<Item Name="[size]">count</Item>
+			<ArrayItems>
+				<Size>count</Size>
+				<ValuePointer>data</ValuePointer>
+			</ArrayItems>
+		</Expand>
+	</Type>
+
 	<Type Name="PoolVector&lt;*&gt;">
 		<Expand>
 			<Item Name="[size]">alloc ? (alloc-&gt;size / sizeof($T1)) : 0</Item>