From 30856fdcff3712d9e45da68c998cbb00967c3347 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 14 Jun 2014 21:03:12 +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/trunk@76702 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 + + +