Переглянути джерело

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

Added LocalVector to Visual Studio debugger visualization
Rémi Verschelde 4 роки тому
батько
коміт
2adacd751c
1 змінених файлів з 10 додано та 0 видалено
  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="List&lt;*&gt;">
 		<Expand>
 			<Item Name="[size]">_data ? (_data->size_cache) : 0</Item>