From a9a748e5dc91c7994f606b725e5f500b775e25c1 Mon Sep 17 00:00:00 2001 From: Nathan Reed Date: Sun, 19 Jul 2020 12:37:23 -0700 Subject: [PATCH] Add more VS debug visualizers (#46) - Added natvis entries for toml::table, toml::array, parse_result, and parse_error --- vs/toml++.natvis | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/vs/toml++.natvis b/vs/toml++.natvis index b72fcdc..720f3eb 100644 --- a/vs/toml++.natvis +++ b/vs/toml++.natvis @@ -50,4 +50,47 @@ {&bytes,s8} ({position}) + + {values} + + + + values._Mypair._Myval2._Myval2._Mysize + values._Mypair._Myval2._Myval2._Myhead->_Parent + _Left + _Right + *_Myval.second + + + + + + {values} + + + + values._Mypair._Myval2._Mylast - values._Mypair._Myval2._Myfirst + *values._Mypair._Myval2._Myfirst[$i] + + + + + + {*reinterpret_cast<::toml::table*>(&storage)} + {*reinterpret_cast<::toml::abi_sf::abi_noex::parse_error*>(&storage)} + + *reinterpret_cast<::toml::table*>(&storage) + *reinterpret_cast<::toml::abi_sf::abi_noex::parse_error*>(&storage) + is_err + + + + + line {source_.begin.line}: {description_,sb} + + + + line {source_.begin.line}: {description_,sb} + +