From 2815c4fb66988ad708ed9b08d71554a094f8945f Mon Sep 17 00:00:00 2001 From: Ofek Date: Wed, 1 Aug 2018 20:58:25 +0300 Subject: [PATCH] Initial addition of native visualizer, to improve debugging experience. (#3906) --- toolsrc/vcpkg.natvis | 35 +++++++++++++++++++++++++++++++++++ toolsrc/vcpkg.sln | 5 +++++ 2 files changed, 40 insertions(+) create mode 100644 toolsrc/vcpkg.natvis diff --git a/toolsrc/vcpkg.natvis b/toolsrc/vcpkg.natvis new file mode 100644 index 0000000000..7f9c7f61ec --- /dev/null +++ b/toolsrc/vcpkg.natvis @@ -0,0 +1,35 @@ + + + + {m_err} + + + + {m_err} + + + + val: {m_t} + err: {m_s} + + + val: {m_t} + err: {m_s} + + + {m_base.m_t} + empty + + + {*(std::string*)this} + + + {m_instance} + + + {m_cstr} + + + {_Mystr} + + \ No newline at end of file diff --git a/toolsrc/vcpkg.sln b/toolsrc/vcpkg.sln index 9a998e2141..6b92c973b8 100644 --- a/toolsrc/vcpkg.sln +++ b/toolsrc/vcpkg.sln @@ -47,6 +47,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "cmake", "cmake", "{A0122231 ..\scripts\cmake\vcpkg_install_meson.cmake = ..\scripts\cmake\vcpkg_install_meson.cmake EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BCE555DF-F471-4ACC-98E5-76CBE8E8F79E}" + ProjectSection(SolutionItems) = preProject + vcpkg.natvis = vcpkg.natvis + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64