Explorar o código

Added LocalVector to Visual Studio debugger visualization

(cherry picked from commit 27d5e1fff01b014e90829f7a3cf320198b164e5a)
PouleyKetchoupp %!s(int64=4) %!d(string=hai) anos
pai
achega
ea1d4256a4
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      platform/windows/godot.natvis

+ 10 - 0
platform/windows/godot.natvis

@@ -10,6 +10,16 @@
 		</Expand>
 		</Expand>
 	</Type>
 	</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;">
 	<Type Name="PoolVector&lt;*&gt;">
 		<Expand>
 		<Expand>
 			<Item Name="[size]">alloc ? (alloc-&gt;size / sizeof($T1)) : 0</Item>
 			<Item Name="[size]">alloc ? (alloc-&gt;size / sizeof($T1)) : 0</Item>