From f6c37b09eafa6e028e5624cf3f1e346d9a388106 Mon Sep 17 00:00:00 2001
From: SupSuper
Date: Tue, 18 Dec 2018 23:38:18 +0000
Subject: MSVC: Add visualisations for iterators and pointers
---
devtools/create_project/scripts/scummvm.natvis | 28 ++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
(limited to 'devtools/create_project/scripts')
diff --git a/devtools/create_project/scripts/scummvm.natvis b/devtools/create_project/scripts/scummvm.natvis
index 74003dd7a0..5470f20ba7 100644
--- a/devtools/create_project/scripts/scummvm.natvis
+++ b/devtools/create_project/scripts/scummvm.natvis
@@ -67,6 +67,13 @@
{_value}
+
+ {_hashmap->_storage[_idx],na}
+
+ - _hashmap->_storage[_idx]
+
+
+
{{ empty }}
{{ non-empty }}
@@ -83,6 +90,18 @@
+
+ {_data}
+
+
+
+
+ {((Common::ListInternal::Node<$T1>*)_node)->_data}
+
+ - ((Common::ListInternal::Node<$T1>*)_node)->_data
+
+
+
{_str,na}
_str,na
@@ -96,4 +115,13 @@
+
+
+ nullptr
+ {*_pointer}
+
+ - _pointer
+ - *_refCount
+
+
--
cgit v1.2.3