summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-02-24 18:18:00 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-02-24 18:35:39 -0700
commit27d5e1fff01b014e90829f7a3cf320198b164e5a (patch)
tree0b733506262bf6f4670297c26a0efd1cd9fc770c /platform
parent2ffecb76ed1d90d4b7eaa6bbeafdddf628d5f7e9 (diff)
Added LocalVector to Visual Studio debugger visualization
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/godot.natvis10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/windows/godot.natvis b/platform/windows/godot.natvis
index d85dfbc3d3..857c6a88f1 100644
--- a/platform/windows/godot.natvis
+++ b/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>