2
0
Эх сурвалжийг харах

Merge pull request #46402 from nekomatata/natvis-local-vector

Added LocalVector to Visual Studio debugger visualization
Rémi Verschelde 4 жил өмнө
parent
commit
2adacd751c

+ 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="List&lt;*&gt;">
 		<Expand>
 			<Item Name="[size]">_data ? (_data->size_cache) : 0</Item>