summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-25 07:22:08 +0100
committerGitHub <noreply@github.com>2021-02-25 07:22:08 +0100
commit2adacd751c9f83f0dbbedcd2d4ce112104e09513 (patch)
tree887048d18af8a63a9e3e1d4e93cef53bb4501c08 /platform/windows
parentc0614bc059788813aa037398227b2bd215495182 (diff)
parent27d5e1fff01b014e90829f7a3cf320198b164e5a (diff)
Merge pull request #46402 from nekomatata/natvis-local-vector
Added LocalVector to Visual Studio debugger visualization
Diffstat (limited to 'platform/windows')
-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>