From c982ab96f50e5d3b834634247650feb9e027b938 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Jun 2014 00:30:13 +0000 Subject: [PATCH] Add MSVS visualizers for wxArrayString, wxVector, wxWindowList. Make viewing the contents of the (most common) container types easier when debugging in MSVS 2012 or later. Provide std::{vector,list}-like visualizers for wxVector and wxWindowList and a special visualizer allowing to see the contents of wxArrayString in a relatively common case when it has just or two elements. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- misc/msvc/wxWidgets.natvis | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/misc/msvc/wxWidgets.natvis b/misc/msvc/wxWidgets.natvis index d9b76e7260..ea06516f0c 100644 --- a/misc/msvc/wxWidgets.natvis +++ b/misc/msvc/wxWidgets.natvis @@ -34,4 +34,46 @@ http://code.msdn.microsoft.com/windowsdesktop/Writing-type-visualizers-2eae77a2# {m_ll} + + + empty + {m_pItems[0]} + {m_pItems[0]} and {m_pItems[1]} + size={m_nCount}: {m_pItems[0]}, {m_pItems[1]}, ... + + + m_nCount + m_pItems + + + + + + + size={m_count} + + m_count + + m_count + m_nodeFirst + m_next + (wxWindow*)m_data + + + + + + size={m_size} + + m_size + m_capacity + + m_size + m_values + + +