首先感谢 https://blog.csdn.net/u014552102/article/details/82466516 的说明
在
https://docs.microsoft.com/zh-cn/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2015
中查看 创建本机对象的自定义视图 的说明,下面结合自己的处理,如下图:
下面是添加到本项目的 NatvisFile.natvis 源码:NatvisFile.natvis:
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!-- VC 2015 -->
<Type Name="std::_Compressed_pair<*,*,1>">
<DisplayString>{*($T1 *)this}</DisplayString>
<Expand>
<ExpandedItem>*($T1 *)this</ExpandedItem>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Compressed_pair<*,*,0>">
<DisplayString>{_Myval1}</DisplayString>
<Expand>
<ExpandedItem>_Myval1</ExpandedItem>
</Expand>
</Type>
<Type Name="std::exception_ptr">
<CustomVisualizer Condition="_Data1 != 0" VisualizerId="CEB58A03-E78D-4D19-9AE7-4738E200649E" />
<DisplayString Condition="_Data1 == 0">null</DisplayString>
<Expand/>
</Type>
<Type Name="std::initializer_list<*>">
<DisplayString>{{ size={_Last - _First} }}</DisplayString>
<Expand>
<ArrayItems>
<Size>_Last - _First</Size>
<ValuePointer>_First</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="std::pair<*>">
<DisplayString IncludeView="noparens">{first}, {second}</DisplayString>
<DisplayString ExcludeView="noparens">({first}, {second})</DisplayString>
<Expand>
<Item Name="first">first</Item>
<Item Name="second">second</Item>
</Expand>
</Type>
<Type Name="std::tuple<>">
<DisplayString IncludeView="noparens"></DisplayString>
<DisplayString ExcludeView="noparens">({*this,view(noparens)})</DisplayString>
<Expand/>
</Type>
<Type Name="std::tuple<*>">
<DisplayString IncludeView="noparens">{_Myfirst._Val}</DisplayString>
<DisplayString ExcludeView="noparens">({*this,view(noparens)})</DisplayString>
<Expand>
<Item Name="[0]">_Myfirst._Val</Item>
</Expand>
</Type>
<Type Name="std::tuple<*,*>">
<DisplayString IncludeView="noparens">{_Myfirst._Val}, {((_Mybase *) this)->_Myfirst._Val}</DisplayString>
<DisplayString ExcludeView="noparens">({*this,view(noparens)})</DisplayString>
<Expand>
<Item Name="[0]">_Myfirst._Val</Item>
<Item Name="[1]">((_Mybase *) this)->_Myfirst._Val</Item>
</Expand>
</Type>
<Type Name="std::tuple<*,*,*>">
<DisplayString IncludeView="noparens">{_Myfirst._Val}, {((_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase *) this)->_Myfirst._Val}</DisplayString>
<DisplayString ExcludeView="noparens">({*this,view(noparens)})</DisplayString>
<Expand>
<Item Name="[0]">_Myfirst._Val</Item>
<Item Name="[1]">((_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[2]">((_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
</Expand>
</Type>
<Type Name="std::tuple<*,*,*,*>">
<DisplayString IncludeView="noparens">{_Myfirst._Val}, {((_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val}</DisplayString>
<DisplayString ExcludeView="noparens">({*this,view(noparens)})</DisplayString>
<Expand>
<Item Name="[0]">_Myfirst._Val</Item>
<Item Name="[1]">((_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[2]">((_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[3]">((_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
</Expand>
</Type>
<Type Name="std::tuple<*,*,*,*,*>">
<DisplayString IncludeView="noparens">{_Myfirst._Val}, {((_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val}</DisplayString>
<DisplayString ExcludeView="noparens">({*this,view(noparens)})</DisplayString>
<Expand>
<Item Name="[0]">_Myfirst._Val</Item>
<Item Name="[1]">((_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[2]">((_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[3]">((_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[4]">((_Mybase::_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
</Expand>
</Type>
<Type Name="std::tuple<*,*,*,*,*,*>">
<DisplayString IncludeView="noparens">{_Myfirst._Val}, {((_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val}, {((_Mybase::_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val}, {*((_Mybase::_Mybase::_Mybase::_Mybase::_Mybase *) this),view(noparens)}</DisplayString>
<DisplayString ExcludeView="noparens">({*this,view(noparens)})</DisplayString>
<Expand>
<Item Name="[0]">_Myfirst._Val</Item>
<Item Name="[1]">((_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[2]">((_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[3]">((_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
<Item Name="[4]">((_Mybase::_Mybase::_Mybase::_Mybase *) this)->_Myfirst._Val</Item>
<Synthetic Name="[...]">
<DisplayString>Next five elements:</DisplayString>
</Synthetic>
<ExpandedItem>*((_Mybase::_Mybase::_Mybase::_Mybase::_Mybase *) this)</ExpandedItem>
</Expand>
</Type>
<Type Name="std::bitset<*>">
<DisplayString>{{ size={$T1} }}</DisplayString>
<Expand>
<IndexListItems>
<Size>$T1</Size>
<ValueNode>(_Array[$i / _Bitsperword] >> ($i % _Bitsperword)) & 1,d</ValueNode>
</IndexListItems>
</Expand>
</Type>
<Type Name="std::bitset<*>::reference">
<DisplayString>{(_Pbitset->_Array[_Mypos / _Pbitset->_Bitsperword] >> (_Mypos % _Pbitset->_Bitsperword)) & 1,d}</DisplayString>
<Expand>
<Item Name="[bitset]">_Pbitset</Item>
<Item Name="[pos]">_Mypos</Item>
</Expand>
</Type>
<Type Name="std::allocator<*>">
<DisplayString>allocator</DisplayString>
<Expand/>
</Type>
<Type Name="std::default_delete<*>">
<DisplayString>default_delete</DisplayString>
<Expand/>
</Type>
<!-- VC 2013 -->
<Type Name="std::unique_ptr<*>" Priority="MediumLow">
<!-- <SmartPointer Usage="Minimal">_Myptr</SmartPointer> -->
<DisplayString Condition="_Myptr == 0">empty</DisplayString>
<DisplayString Condition="_Myptr != 0">unique_ptr {*_Myptr}</DisplayString>
<Expand>
<Item Condition="_Myptr != 0" Name="[ptr]">_Myptr</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::unique_ptr<*>">
<!-- <SmartPointer Usage="Minimal">_Mypair._Myval2</SmartPointer> -->
<DisplayString Condition="_Mypair._Myval2 == 0">empty</DisplayString>
<DisplayString Condition="_Mypair._Myval2 != 0">unique_ptr {*_Mypair._Myval2}</DisplayString>
<Expand>
<Item Condition="_Mypair._Myval2 != 0" Name="[ptr]">_Mypair._Myval2</Item>
<Item Condition="_Mypair._Myval2 != 0" Name="[deleter]">_Mypair</Item>
</Expand>
</Type>
<Type Name="std::_Ref_count<*>">
<DisplayString>default</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">_Ptr</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Ref_count_del<*>" Priority="MediumLow">
<DisplayString>custom deleter</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">_Ptr</Item>
<Item Name="[deleter]">_Dtor</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Ref_count_del<*>">
<DisplayString>custom deleter</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">_Mypair._Myval2</Item>
<Item Name="[deleter]">_Mypair</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Ref_count_del_alloc<*>" Priority="MediumLow">
<DisplayString>custom deleter, custom allocator</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">_Ptr</Item>
<Item Name="[deleter]">_Dtor</Item>
<Item Name="[allocator]">_Myal</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Ref_count_del_alloc<*>">
<DisplayString>custom deleter, custom allocator</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">_Mypair._Myval2._Myval2</Item>
<Item Name="[deleter]">_Mypair</Item>
<Item Name="[allocator]">_Mypair._Myval2</Item>
</Expand>
</Type>
<Type Name="std::_Ref_count_obj<*>">
<DisplayString>make_shared</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">($T1 *) &_Storage</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Ref_count_obj_alloc<*>" Priority="MediumLow">
<DisplayString>allocate_shared</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">($T1 *) &_Storage</Item>
<Item Name="[allocator]">_Myal</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Ref_count_obj_alloc<*>">
<DisplayString>allocate_shared</DisplayString>
<Expand>
<Item Condition="_Uses != 0" Name="[original ptr]">($T1 *) &_Mypair._Myval2</Item>
<Item Name="[allocator]">_Mypair</Item>
</Expand>
</Type>
<Type Name="std::shared_ptr<*>">
<!-- <SmartPointer Usage="Minimal">_Ptr</SmartPointer> -->
<DisplayString Condition="_Ptr == 0">empty</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses == 1) && (_Rep->_Weaks == 1)" >shared_ptr {*_Ptr} [{_Rep->_Uses} strong ref] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses == 1) && (_Rep->_Weaks == 2)" >shared_ptr {*_Ptr} [{_Rep->_Uses} strong ref, {_Rep->_Weaks - 1} weak ref] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses == 1) && (_Rep->_Weaks > 2)">shared_ptr {*_Ptr} [{_Rep->_Uses} strong ref, {_Rep->_Weaks - 1} weak refs] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses > 1) && (_Rep->_Weaks == 1)" >shared_ptr {*_Ptr} [{_Rep->_Uses} strong refs] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses > 1) && (_Rep->_Weaks == 2)" >shared_ptr {*_Ptr} [{_Rep->_Uses} strong refs, {_Rep->_Weaks - 1} weak ref] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses > 1) && (_Rep->_Weaks > 2)">shared_ptr {*_Ptr} [{_Rep->_Uses} strong refs, {_Rep->_Weaks - 1} weak refs] [{*_Rep}]</DisplayString>
<Expand>
<Item Condition="_Ptr != 0" Name="[ptr]">_Ptr</Item>
<Item Condition="_Ptr != 0" Name="[control block]">*_Rep</Item>
</Expand>
</Type>
<Type Name="std::weak_ptr<*>">
<DisplayString Condition="_Ptr == 0">empty</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses == 0) && (_Rep->_Weaks == 1)" >expired [{_Rep->_Weaks} weak ref] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses == 0) && (_Rep->_Weaks > 1)">expired [{_Rep->_Weaks} weak refs] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses == 1) && (_Rep->_Weaks == 2)" >weak_ptr {*_Ptr} [{_Rep->_Uses} strong ref, {_Rep->_Weaks - 1} weak ref] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses == 1) && (_Rep->_Weaks > 2)">weak_ptr {*_Ptr} [{_Rep->_Uses} strong ref, {_Rep->_Weaks - 1} weak refs] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses > 1) && (_Rep->_Weaks == 2)" >weak_ptr {*_Ptr} [{_Rep->_Uses} strong refs, {_Rep->_Weaks - 1} weak ref] [{*_Rep}]</DisplayString>
<DisplayString Condition="(_Ptr != 0) && (_Rep->_Uses > 1) && (_Rep->_Weaks > 2)">weak_ptr {*_Ptr} [{_Rep->_Uses} strong refs, {_Rep->_Weaks - 1} weak refs] [{*_Rep}]</DisplayString>
<Expand>
<Item Condition="(_Ptr != 0) && (_Rep->_Uses > 0)" Name="[ptr]">_Ptr</Item>
<Item Condition="_Ptr != 0" Name="[control block]">*_Rep</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Callable_base<*,1>">
<DisplayString>{*_Ptr}</DisplayString>
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Callable_base<*,0>">
<DisplayString>{_Object}</DisplayString>
<Expand/>
</Type>
<!-- VC 2013 -->
<Type Name="std::reference_wrapper<*>" Priority="MediumLow">
<DisplayString>{_Callee}</DisplayString>
<Expand>
<ExpandedItem>_Callee</ExpandedItem>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::reference_wrapper<*>">
<DisplayString>{*_Ptr}</DisplayString>
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>
<Type Name="std::plus<void>">
<DisplayString>plus<></DisplayString>
<Expand/>
</Type>
<Type Name="std::minus<void>">
<DisplayString>minus<></DisplayString>
<Expand/>
</Type>
<Type Name="std::multiplies<void>">
<DisplayString>multiplies<></DisplayString>
<Expand/>
</Type>
<Type Name="std::divides<void>">
<DisplayString>divides<></DisplayString>
<Expand/>
</Type>
<Type Name="std::modulus<void>">
<DisplayString>modulus<></DisplayString>
<Expand/>
</Type>
<Type Name="std::negate<void>">
<DisplayString>negate<></DisplayString>
<Expand/>
</Type>
<Type Name="std::equal_to<void>">
<DisplayString>equal_to<></DisplayString>
<Expand/>
</Type>
<Type Name="std::not_equal_to<void>">
<DisplayString>not_equal_to<></DisplayString>
<Expand/>
</Type>
<Type Name="std::greater<void>">
<DisplayString>greater<></DisplayString>
<Expand/>
</Type>
<Type Name="std::less<void>">
<DisplayString>less<></DisplayString>
<Expand/>
</Type>
<Type Name="std::greater_equal<void>">
<DisplayString>greater_equal<></DisplayString>
<Expand/>
</Type>
<Type Name="std::less_equal<void>">
<DisplayString>less_equal<></DisplayString>
<Expand/>
</Type>
<Type Name="std::logical_and<void>">
<DisplayString>logical_and<></DisplayString>
<Expand/>
</Type>
<Type Name="std::logical_or<void>">
<DisplayString>logical_or<></DisplayString>
<Expand/>
</Type>
<Type Name="std::logical_not<void>">
<DisplayString>logical_not<></DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_and<void>">
<DisplayString>bit_and<></DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_or<void>">
<DisplayString>bit_or<></DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_xor<void>">
<DisplayString>bit_xor<></DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_not<void>">
<DisplayString>bit_not<></DisplayString>
<Expand/>
</Type>
<Type Name="std::plus<*>">
<DisplayString>plus</DisplayString>
<Expand/>
</Type>
<Type Name="std::minus<*>">
<DisplayString>minus</DisplayString>
<Expand/>
</Type>
<Type Name="std::multiplies<*>">
<DisplayString>multiplies</DisplayString>
<Expand/>
</Type>
<Type Name="std::divides<*>">
<DisplayString>divides</DisplayString>
<Expand/>
</Type>
<Type Name="std::modulus<*>">
<DisplayString>modulus</DisplayString>
<Expand/>
</Type>
<Type Name="std::negate<*>">
<DisplayString>negate</DisplayString>
<Expand/>
</Type>
<Type Name="std::equal_to<*>">
<DisplayString>equal_to</DisplayString>
<Expand/>
</Type>
<Type Name="std::not_equal_to<*>">
<DisplayString>not_equal_to</DisplayString>
<Expand/>
</Type>
<Type Name="std::greater<*>">
<DisplayString>greater</DisplayString>
<Expand/>
</Type>
<Type Name="std::less<*>">
<DisplayString>less</DisplayString>
<Expand/>
</Type>
<Type Name="std::greater_equal<*>">
<DisplayString>greater_equal</DisplayString>
<Expand/>
</Type>
<Type Name="std::less_equal<*>">
<DisplayString>less_equal</DisplayString>
<Expand/>
</Type>
<Type Name="std::logical_and<*>">
<DisplayString>logical_and</DisplayString>
<Expand/>
</Type>
<Type Name="std::logical_or<*>">
<DisplayString>logical_or</DisplayString>
<Expand/>
</Type>
<Type Name="std::logical_not<*>">
<DisplayString>logical_not</DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_and<*>">
<DisplayString>bit_and</DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_or<*>">
<DisplayString>bit_or</DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_xor<*>">
<DisplayString>bit_xor</DisplayString>
<Expand/>
</Type>
<Type Name="std::bit_not<*>">
<DisplayString>bit_not</DisplayString>
<Expand/>
</Type>
<Type Name="std::unary_negate<*>">
<DisplayString>not1({_Functor})</DisplayString>
<Expand>
<Item Name="[pred]">_Functor</Item>
</Expand>
</Type>
<Type Name="std::binary_negate<*>">
<DisplayString>not2({_Functor})</DisplayString>
<Expand>
<Item Name="[pred]">_Functor</Item>
</Expand>
</Type>
<Type Name="std::_Ph<*>">
<DisplayString>_{$T1,d}</DisplayString>
<Expand/>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Bind<*>">
<DisplayString>bind({_Myfun}, {_Mybargs,view(noparens)})</DisplayString>
<Expand>
<Item Name="[f]">_Myfun</Item>
<Item Name="[bound_args]">_Mybargs</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Binder<*>">
<DisplayString>bind({_Mypair}, {_Mypair._Myval2,view(noparens)})</DisplayString>
<Expand>
<Item Name="[f]">_Mypair</Item>
<Item Name="[bound_args]">_Mypair._Myval2</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Mem_fn_wrap<*>">
<DisplayString>mem_fn({_Callee._Object})</DisplayString>
<Expand/>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Mem_fn<*>">
<DisplayString>mem_fn({_Pm})</DisplayString>
<Expand/>
</Type>
<!-- VC 2013 -->
<Type Name="std::_Func_impl<*>" Priority="MediumLow">
<DisplayString>{_Callee._Object}</DisplayString>
<Expand>
<Item Name="[functor]">_Callee._Object</Item>
<Item Name="[allocator]">_Myal</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Func_impl<*>">
<DisplayString>{_Mypair._Myval2}</DisplayString>
<Expand>
<Item Name="[functor]">_Mypair._Myval2</Item>
<Item Name="[allocator]">_Mypair</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::function<*>" Priority="MediumLow">
<DisplayString Condition="_Impl == 0">empty</DisplayString>
<DisplayString Condition="_Impl != 0">{*_Impl}</DisplayString>
<Expand>
<ExpandedItem Condition="_Impl != 0">*_Impl</ExpandedItem>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::function<*>">
<DisplayString Condition="_Mystorage._Ptrs[_EEN_IMPL] == 0">empty</DisplayString>
<DisplayString Condition="_Mystorage._Ptrs[_EEN_IMPL] != 0">{*_Mystorage._Ptrs[_EEN_IMPL]}</DisplayString>
<Expand>
<ExpandedItem Condition="_Mystorage._Ptrs[_EEN_IMPL] != 0">*_Mystorage._Ptrs[_EEN_IMPL]</ExpandedItem>
</Expand>
</Type>
<Type Name="std::hash<*>">
<DisplayString>hash</DisplayString>
<Expand/>
</Type>
<Type Name="std::chrono::duration<*,std::ratio<1,1000000000> >">
<DisplayString>{_MyRep} nanoseconds</DisplayString>
<Expand/>
</Type>
<Type Name="std::chrono::duration<*,std::ratio<1,1000000> >">
<DisplayString>{_MyRep} microseconds</DisplayString>
<Expand/>
</Type>
<Type Name="std::chrono::duration<*,std::ratio<1,1000> >">
<DisplayString>{_MyRep} milliseconds</DisplayString>
<Expand/>
</Type>
<Type Name="std::chrono::duration<*,std::ratio<1,1> >">
<DisplayString>{_MyRep} seconds</DisplayString>
<Expand/>
</Type>
<Type Name="std::chrono::duration<*,std::ratio<60,1> >">
<DisplayString>{_MyRep} minutes</DisplayString>
<Expand/>
</Type>
<Type Name="std::chrono::duration<*,std::ratio<3600,1> >">
<DisplayString>{_MyRep} hours</DisplayString>
<Expand/>
</Type>
<!-- VC 2013 -->
<Type Name="std::basic_string<char,*>" Priority="MediumLow">
<DisplayString Condition="_Myres < _BUF_SIZE">{_Bx._Buf,na}</DisplayString>
<DisplayString Condition="_Myres >= _BUF_SIZE">{_Bx._Ptr,na}</DisplayString>
<StringView Condition="_Myres < _BUF_SIZE">_Bx._Buf,na</StringView>
<StringView Condition="_Myres >= _BUF_SIZE">_Bx._Ptr,na</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">_Mysize</Item>
<Item Name="[capacity]" ExcludeView="simple">_Myres</Item>
<ArrayItems>
<Size>_Mysize</Size>
<ValuePointer Condition="_Myres < _BUF_SIZE">_Bx._Buf</ValuePointer>
<ValuePointer Condition="_Myres >= _BUF_SIZE">_Bx._Ptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::basic_string<wchar_t,*>" Priority="MediumLow">
<AlternativeType Name="std::basic_string<unsigned short,*>" />
<DisplayString Condition="_Myres < _BUF_SIZE">{_Bx._Buf,su}</DisplayString>
<DisplayString Condition="_Myres >= _BUF_SIZE">{_Bx._Ptr,su}</DisplayString>
<StringView Condition="_Myres < _BUF_SIZE">_Bx._Buf,su</StringView>
<StringView Condition="_Myres >= _BUF_SIZE">_Bx._Ptr,su</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">_Mysize</Item>
<Item Name="[capacity]" ExcludeView="simple">_Myres</Item>
<ArrayItems>
<Size>_Mysize</Size>
<ValuePointer Condition="_Myres < _BUF_SIZE">_Bx._Buf</ValuePointer>
<ValuePointer Condition="_Myres >= _BUF_SIZE">_Bx._Ptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::basic_string<char,*>">
<DisplayString Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">{_Mypair._Myval2._Bx._Buf,na}</DisplayString>
<DisplayString Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">{_Mypair._Myval2._Bx._Ptr,na}</DisplayString>
<StringView Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Buf,na</StringView>
<StringView Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Ptr,na</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">_Mypair._Myval2._Mysize</Item>
<Item Name="[capacity]" ExcludeView="simple">_Mypair._Myval2._Myres</Item>
<Item Name="[allocator]" ExcludeView="simple">_Mypair</Item>
<ArrayItems>
<Size>_Mypair._Myval2._Mysize</Size>
<ValuePointer Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Buf</ValuePointer>
<ValuePointer Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Ptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::basic_string<wchar_t,*>">
<AlternativeType Name="std::basic_string<unsigned short,*>" />
<AlternativeType Name="std::basic_string<char16_t,*>" />
<DisplayString Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">{_Mypair._Myval2._Bx._Buf,su}</DisplayString>
<DisplayString Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">{_Mypair._Myval2._Bx._Ptr,su}</DisplayString>
<StringView Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Buf,su</StringView>
<StringView Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Ptr,su</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">_Mypair._Myval2._Mysize</Item>
<Item Name="[capacity]" ExcludeView="simple">_Mypair._Myval2._Myres</Item>
<Item Name="[allocator]" ExcludeView="simple">_Mypair</Item>
<ArrayItems>
<Size>_Mypair._Myval2._Mysize</Size>
<ValuePointer Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Buf</ValuePointer>
<ValuePointer Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Ptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="std::basic_string<char32_t,*>">
<DisplayString Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">{_Mypair._Myval2._Bx._Buf,s32}</DisplayString>
<DisplayString Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">{_Mypair._Myval2._Bx._Ptr,s32}</DisplayString>
<StringView Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Buf,s32</StringView>
<StringView Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Ptr,s32</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">_Mypair._Myval2._Mysize</Item>
<Item Name="[capacity]" ExcludeView="simple">_Mypair._Myval2._Myres</Item>
<Item Name="[allocator]" ExcludeView="simple">_Mypair</Item>
<ArrayItems>
<Size>_Mypair._Myval2._Mysize</Size>
<ValuePointer Condition="_Mypair._Myval2._Myres < _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Buf</ValuePointer>
<ValuePointer Condition="_Mypair._Myval2._Myres >= _Mypair._Myval2._BUF_SIZE">_Mypair._Myval2._Bx._Ptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="std::_String_iterator<std::_String_val<std::_Simple_types<char> > >">
<AlternativeType Name="std::_String_const_iterator<std::_String_val<std::_Simple_types<char> > >" />
<!-- <SmartPointer Usage="Indexable">_Ptr,na</SmartPointer> -->
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>
<Type Name="std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t> > >">
<AlternativeType Name="std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t> > >" />
<AlternativeType Name="std::_String_iterator<std::_String_val<std::_Simple_types<unsigned short> > >" />
<AlternativeType Name="std::_String_const_iterator<std::_String_val<std::_Simple_types<unsigned short> > >" />
<AlternativeType Name="std::_String_iterator<std::_String_val<std::_Simple_types<char16_t> > >" />
<AlternativeType Name="std::_String_const_iterator<std::_String_val<std::_Simple_types<char16_t> > >" />
<!-- <SmartPointer Usage="Indexable">_Ptr,su</SmartPointer> -->
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>
<Type Name="std::_String_iterator<std::_String_val<std::_Simple_types<char32_t> > >">
<AlternativeType Name="std::_String_const_iterator<std::_String_val<std::_Simple_types<char32_t> > >" />
<!-- <SmartPointer Usage="Indexable">_Ptr,s32</SmartPointer> -->
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>
<Type Name="std::array<*,*>">
<DisplayString>{{ size={$T2} }}</DisplayString>
<Expand>
<ArrayItems>
<Size>$T2</Size>
<ValuePointer>_Elems</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- This is for _ITERATOR_DEBUG_LEVEL == 0 and must have lower priority. -->
<Type Name="std::_Array_iterator<*>" Priority="MediumLow">
<AlternativeType Name="std::_Array_const_iterator<*>" />
<!-- <SmartPointer Usage="Indexable">_Ptr,na</SmartPointer> -->
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>
<!-- This is for _ITERATOR_DEBUG_LEVEL != 0 and must have higher priority. -->
<Type Name="std::_Array_iterator<*>" Priority="Medium">
<AlternativeType Name="std::_Array_const_iterator<*>" />
<!-- <SmartPointer Usage="Indexable">_Ptr + _Idx</SmartPointer> -->
<DisplayString Condition="_Idx != _EEN_SIZE">{_Ptr[_Idx]}</DisplayString>
<DisplayString Condition="_Idx == _EEN_SIZE">end</DisplayString>
<Expand>
<Item Condition="_Idx != _EEN_SIZE" Name="[ptr]">_Ptr + _Idx</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::deque<*>" Priority="MediumLow">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<IndexListItems>
<Size>_Mysize</Size>
<ValueNode>_Map[(($i + _Myoff) / _EEN_DS) % _Mapsize][($i + _Myoff) % _EEN_DS]</ValueNode>
</IndexListItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::deque<*>">
<DisplayString>{{ size={_Mypair._Myval2._Mysize} }}</DisplayString>
<Expand>
<Item Name="[allocator]" ExcludeView="simple">_Mypair</Item>
<IndexListItems>
<Size>_Mypair._Myval2._Mysize</Size>
<ValueNode>_Mypair._Myval2._Map[(($i + _Mypair._Myval2._Myoff) / _EEN_DS) % _Mypair._Myval2._Mapsize][($i + _Mypair._Myval2._Myoff) % _EEN_DS]</ValueNode>
</IndexListItems>
</Expand>
</Type>
<Type Name="std::_Deque_iterator<*>">
<AlternativeType Name="std::_Deque_const_iterator<*>" />
<DisplayString Condition="_Myoff < ((_Mydeque_t *)_Myproxy->_Mycont)->_Myoff + ((_Mydeque_t *)_Myproxy->_Mycont)->_Mysize">{((_Mydeque_t *)_Myproxy->_Mycont)->_Map[(_Myoff / _EEN_DS) % ((_Mydeque_t *)_Myproxy->_Mycont)->_Mapsize][_Myoff % _EEN_DS]}</DisplayString>
<DisplayString Condition="_Myoff >= ((_Mydeque_t *)_Myproxy->_Mycont)->_Myoff + ((_Mydeque_t *)_Myproxy->_Mycont)->_Mysize">end</DisplayString>
<Expand>
<Item Condition="_Myoff < ((_Mydeque_t *)_Myproxy->_Mycont)->_Myoff + ((_Mydeque_t *)_Myproxy->_Mycont)->_Mysize" Name="[index]">_Myoff - ((_Mydeque_t *)_Myproxy->_Mycont)->_Myoff</Item>
<Item Condition="_Myoff < ((_Mydeque_t *)_Myproxy->_Mycont)->_Myoff + ((_Mydeque_t *)_Myproxy->_Mycont)->_Mysize" Name="[ptr]">&((_Mydeque_t *)_Myproxy->_Mycont)->_Map[(_Myoff / _EEN_DS) % ((_Mydeque_t *)_Myproxy->_Mycont)->_Mapsize][_Myoff % _EEN_DS]</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::forward_list<*>" Priority="MediumLow">
<DisplayString Condition="_Myhead == 0">empty</DisplayString>
<DisplayString Condition="_Myhead != 0">non-empty</DisplayString>
<Expand>
<LinkedListItems>
<HeadPointer>_Myhead</HeadPointer>
<NextPointer>_Next</NextPointer>
<ValueNode>_Myval</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::forward_list<*>">
<DisplayString Condition="_Mypair._Myval2._Myhead == 0">empty</DisplayString>
<DisplayString Condition="_Mypair._Myval2._Myhead != 0">non-empty</DisplayString>
<Expand>
<Item Name="[allocator]" ExcludeView="simple">_Mypair</Item>
<LinkedListItems>
<HeadPointer>_Mypair._Myval2._Myhead</HeadPointer>
<NextPointer>_Next</NextPointer>
<ValueNode>_Myval</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="std::_Flist_iterator<*>">
<AlternativeType Name="std::_Flist_const_iterator<*>" />
<!-- <SmartPointer Usage="Minimal">&_Ptr->_Myval,na</SmartPointer> -->
<DisplayString Condition="_Ptr == 0">end</DisplayString>
<DisplayString Condition="_Ptr != 0">{**this}</DisplayString>
</Type>
<!-- VC 2013 -->
<Type Name="std::list<*>" Priority="MediumLow">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<LinkedListItems>
<Size>_Mysize</Size>
<HeadPointer>_Myhead->_Next</HeadPointer>
<NextPointer>_Next</NextPointer>
<ValueNode>_Myval</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::list<*>">
<DisplayString>{{ size={_Mypair._Myval2._Mysize} }}</DisplayString>
<Expand>
<Item Name="[allocator]" ExcludeView="simple">_Mypair</Item>
<LinkedListItems>
<Size>_Mypair._Myval2._Mysize</Size>
<HeadPointer>_Mypair._Myval2._Myhead->_Next</HeadPointer>
<NextPointer>_Next</NextPointer>
<ValueNode>_Myval</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="std::_List_iterator<*>">
<AlternativeType Name="std::_List_const_iterator<*>" />
<!-- <SmartPointer Usage="Minimal">&_Ptr->_Myval,na</SmartPointer> -->
</Type>
<!-- VC 2013 -->
<Type Name="std::vector<bool,*>" Priority="MediumLow">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<Item Name="[capacity]" ExcludeView="simple">(_Myvec._Myend - _Myvec._Myfirst) * _EEN_VBITS</Item>
<IndexListItems>
<Size>_Mysize</Size>
<ValueNode>(bool)((_Myvec._Myfirst[$i / _EEN_VBITS] >> ($i % _EEN_VBITS)) & 1)</ValueNode>
</IndexListItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::vector<bool,*>">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<Item Name="[capacity]" ExcludeView="simple">(_Myvec._Mypair._Myval2._Myend - _Myvec._Mypair._Myval2._Myfirst) * _EEN_VBITS</Item>
<Item Name="[allocator]" ExcludeView="simple">_Myvec._Mypair</Item>
<IndexListItems>
<Size>_Mysize</Size>
<ValueNode>(bool)((_Myvec._Mypair._Myval2._Myfirst[$i / _EEN_VBITS] >> ($i % _EEN_VBITS)) & 1)</ValueNode>
</IndexListItems>
</Expand>
</Type>
<Type Name="std::_Vb_reference<*>">
<AlternativeType Name="std::_Vb_iterator<*>" />
<AlternativeType Name="std::_Vb_const_iterator<*>" />
<DisplayString>{(bool)((*_Myptr >> _Myoff) & 1)}</DisplayString>
<Expand>
<Item Name="[ptr]">_Myptr</Item>
<Item Name="[offset]">_Myoff</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::vector<*>" Priority="MediumLow">
<DisplayString>{{ size={_Mylast - _Myfirst} }}</DisplayString>
<Expand>
<Item Name="[capacity]" ExcludeView="simple">_Myend - _Myfirst</Item>
<ArrayItems>
<Size>_Mylast - _Myfirst</Size>
<ValuePointer>_Myfirst</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::vector<*>">
<DisplayString>{{ size={_Mypair._Myval2._Mylast - _Mypair._Myval2._Myfirst} }}</DisplayString>
<Expand>
<Item Name="[capacity]" ExcludeView="simple">_Mypair._Myval2._Myend - _Mypair._Myval2._Myfirst</Item>
<Item Name="[allocator]" ExcludeView="simple">_Mypair</Item>
<ArrayItems>
<Size>_Mypair._Myval2._Mylast - _Mypair._Myval2._Myfirst</Size>
<ValuePointer>_Mypair._Myval2._Myfirst</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="std::_Vector_iterator<*>">
<AlternativeType Name="std::_Vector_const_iterator<*>" />
<!-- <SmartPointer Usage="Indexable">_Ptr,na</SmartPointer> -->
<Expand>
<Item Name="[ptr]">_Ptr</Item>
</Expand>
</Type>
<!-- VC 2013 -->
<Type Name="std::map<*>" Priority="MediumLow">
<AlternativeType Name="std::multimap<*>" />
<AlternativeType Name="std::set<*>" />
<AlternativeType Name="std::multiset<*>" />
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<TreeItems>
<Size>_Mysize</Size>
<HeadPointer>_Myhead->_Parent</HeadPointer>
<LeftPointer>_Left</LeftPointer>
<RightPointer>_Right</RightPointer>
<ValueNode Condition="_Isnil == 0">_Myval</ValueNode>
</TreeItems>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::map<*>" Priority="Medium">
<AlternativeType Name="std::multimap<*>" />
<AlternativeType Name="std::set<*>" />
<AlternativeType Name="std::multiset<*>" />
<DisplayString>{{ size={_Mypair._Myval2._Myval2._Mysize} }}</DisplayString>
<Expand>
<Item Name="[comparator]" ExcludeView="simple">_Mypair</Item>
<Item Name="[allocator]" ExcludeView="simple">_Mypair._Myval2</Item>
<TreeItems>
<Size>_Mypair._Myval2._Myval2._Mysize</Size>
<HeadPointer>_Mypair._Myval2._Myval2._Myhead->_Parent</HeadPointer>
<LeftPointer>_Left</LeftPointer>
<RightPointer>_Right</RightPointer>
<ValueNode Condition="_Isnil == 0">_Myval</ValueNode>
</TreeItems>
</Expand>
</Type>
<!-- Starting in VS 2015, Update 2, we added a new visualization for std::map that shows the key in the name column,
and the value in the value column. If desired, the "ShowElementsByIndex" view can be used to fall back to the prior
behavior and show the index in the name column and the key-value pair in the value column. -->
<Type Name="std::map<*>" ExcludeView="ShowElementsByIndex" Priority="MediumHigh">
<AlternativeType Name="std::multimap<*>" />
<DisplayString>{{ size={_Mypair._Myval2._Myval2._Mysize} }}</DisplayString>
<Expand>
<Item Name="[comparator]" ExcludeView="simple">_Mypair</Item>
<Item Name="[allocator]" ExcludeView="simple">_Mypair._Myval2</Item>
<TreeItems>
<Size>_Mypair._Myval2._Myval2._Mysize</Size>
<HeadPointer>_Mypair._Myval2._Myval2._Myhead->_Parent</HeadPointer>
<LeftPointer>_Left</LeftPointer>
<RightPointer>_Right</RightPointer>
<!-- <ValueNode Condition="_Isnil == 0" Name="[{_Myval.first}]">_Myval,view(MapHelper)</ValueNode> -->
<ValueNode Condition="_Isnil == 0" >_Myval,view(MapHelper)</ValueNode>
</TreeItems>
</Expand>
</Type>
<Type Name="std::pair<*, *>" IncludeView="MapHelper">
<DisplayString>{second}</DisplayString>
</Type>
<Type Name="std::_Tree_iterator<*>">
<AlternativeType Name="std::_Tree_const_iterator<*>" />
<!-- <SmartPointer Usage="Minimal">_Ptr->_Isnil ? nullptr : &_Ptr->_Myval</SmartPointer> -->
<DisplayString Condition="_Ptr->_Isnil == 0">{_Ptr->_Myval}</DisplayString>
<DisplayString Condition="_Ptr->_Isnil != 0">end</DisplayString>
<Expand>
<Item Condition="_Ptr->_Isnil == 0" Name="[ptr]">&_Ptr->_Myval</Item>
</Expand>
</Type>
<!-- VC 2013 - must have lower priority -->
<Type Name="std::unordered_map<*>" Priority="MediumLow">
<AlternativeType Name="std::unordered_multimap<*>" />
<AlternativeType Name="std::unordered_set<*>" />
<AlternativeType Name="std::unordered_multiset<*>" />
<AlternativeType Name="stdext::hash_map<*>" />
<AlternativeType Name="stdext::hash_multimap<*>" />
<AlternativeType Name="stdext::hash_set<*>" />
<AlternativeType Name="stdext::hash_multiset<*>" />
<DisplayString>{_List}</DisplayString>
<Expand>
<ExpandedItem>_List</ExpandedItem>
</Expand>
</Type>
<!-- VC 2015 - must have higher priority -->
<Type Name="std::unordered_map<*>" Priority="Medium">
<AlternativeType Name="std::unordered_multimap<*>" />
<AlternativeType Name="std::unordered_set<*>" />
<AlternativeType Name="std::unordered_multiset<*>" />
<AlternativeType Name="stdext::hash_map<*>" />
<AlternativeType Name="stdext::hash_multimap<*>" />
<AlternativeType Name="stdext::hash_set<*>" />
<AlternativeType Name="stdext::hash_multiset<*>" />
<DisplayString>{_List}</DisplayString>
<Expand>
<Item Name="[bucket_count]" IncludeView="detailed">_Maxidx</Item>
<Item Name="[load_factor]" IncludeView="detailed">((float)_List._Mypair._Myval2._Mysize) / ((float)_Maxidx)</Item>
<Item Name="[max_load_factor]" IncludeView="detailed">_Traitsobj._Mypair._Myval2._Myval2</Item>
<Item Name="[hash_function]" ExcludeView="simple">_Traitsobj._Mypair</Item>
<Item Name="[key_eq]" ExcludeView="simple">_Traitsobj._Mypair._Myval2</Item>
<Item Name="[allocator]" ExcludeView="simple">_List._Mypair</Item>
<ExpandedItem>_List,view(simple)</ExpandedItem>
</Expand>
</Type>
<Type Name="std::unordered_map<*>" Priority="MediumHigh" ExcludeView="ShowElementsByIndex">
<AlternativeType Name="std::unordered_multimap<*>" />
<DisplayString>{_List}</DisplayString>
<Expand>
<Item Name="[bucket_count]" IncludeView="detailed">_Maxidx</Item>
<Item Name="[load_factor]" IncludeView="detailed">((float)_List._Mypair._Myval2._Mysize) / ((float)_Maxidx)</Item>
<Item Name="[max_load_factor]" IncludeView="detailed">_Traitsobj._Mypair._Myval2._Myval2</Item>
<Item Name="[hash_function]" ExcludeView="simple">_Traitsobj._Mypair</Item>
<Item Name="[key_eq]" ExcludeView="simple">_Traitsobj._Mypair._Myval2</Item>
<Item Name="[allocator]" ExcludeView="simple">_List._Mypair</Item>
<ExpandedItem>_List,view(MapHelper)</ExpandedItem>
</Expand>
</Type>
<!-- Alternate view of std::list for internal list contained within an std::unordered_map.-->
<Type Name="std::list<std::pair<*,*>,*>" IncludeView="MapHelper">
<DisplayString>Test</DisplayString>
<Expand>
<LinkedListItems>
<Size>_Mypair._Myval2._Mysize</Size>
<HeadPointer>_Mypair._Myval2._Myhead->_Next</HeadPointer>
<NextPointer>_Next</NextPointer>
<!-- <ValueNode Name="[{_Myval.first}]">_Myval</ValueNode> -->
<ValueNode>_Myval</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="std::queue<*>">
<AlternativeType Name="std::stack<*>" />
<DisplayString>{c}</DisplayString>
<Expand>
<Item Name="c">c</Item>
</Expand>
</Type>
<Type Name="std::priority_queue<*>">
<DisplayString>{c}</DisplayString>
<Expand>
<Item Name="c [heap]">c</Item>
<Item Name="comp">comp</Item>
</Expand>
</Type>
<!-- This is for _ITERATOR_DEBUG_LEVEL == 0 and must have lower priority. -->
<Type Name="std::reverse_iterator<std::_Array_iterator<*> >" Priority="MediumLow">
<AlternativeType Name="std::reverse_iterator<std::_Array_const_iterator<*> >" />
<!-- <SmartPointer Usage="Minimal">current._Ptr - 1,na</SmartPointer> -->
<DisplayString>reverse_iterator {current._Ptr[-1]}</DisplayString>
<Expand>
<Item Name="[ptr]">current._Ptr - 1</Item>
</Expand>
</Type>
<!-- This is for _ITERATOR_DEBUG_LEVEL != 0 and must have higher priority. -->
<Type Name="std::reverse_iterator<std::_Array_iterator<*> >" Priority="Medium">
<AlternativeType Name="std::reverse_iterator<std::_Array_const_iterator<*> >" />
<!-- <SmartPointer Usage="Minimal">current._Ptr + current._Idx - 1,na</SmartPointer> -->
<DisplayString Condition="current._Idx != 0">reverse_iterator {current._Ptr[current._Idx - 1]}</DisplayString>
<DisplayString Condition="current._Idx == 0">reverse_iterator rend</DisplayString>
<Expand>
<Item Condition="current._Idx != 0" Name="[ptr]">current._Ptr + current._Idx - 1</Item>
</Expand>
</Type>
<Type Name="std::reverse_iterator<std::_List_iterator<*> >">
<AlternativeType Name="std::reverse_iterator<std::_List_const_iterator<*> >" />
<!-- <SmartPointer Usage="Minimal">&current._Ptr->_Prev->_Myval,na</SmartPointer> -->
<DisplayString>reverse_iterator {**this}</DisplayString>
</Type>
<Type Name="std::reverse_iterator<std::_Vector_iterator<*> >">
<AlternativeType Name="std::reverse_iterator<std::_Vector_const_iterator<*> >" />
<!-- <SmartPointer Usage="Minimal">current._Ptr - 1,na</SmartPointer> -->
<DisplayString>reverse_iterator {**this}</DisplayString>
<Expand>
<Item Name="[ptr]">current._Ptr - 1</Item>
</Expand>
</Type>
<Type Name="std::reverse_iterator<*>" Priority="Medium">
<DisplayString>reverse_iterator base() {current}</DisplayString>
<Expand>
<Synthetic Name="[NOTE]">
<DisplayString>NOTE: *ri is equivalent to *prev(ri.base())</DisplayString>
</Synthetic>
<Item Name="base()">current</Item>
</Expand>
</Type>
<!-- This "partial specialization" for raw pointers or iterators marked as <SmartPointer Usage="Indexable">.
Must have higher priority than the "primary template" for arbitrary iterators. -->
<Type Name="std::reverse_iterator<*>" Priority="MediumHigh">
<!-- <SmartPointer Usage="Minimal">current - 1</SmartPointer> -->
<DisplayString>reverse_iterator {current[-1]}</DisplayString>
<Expand>
<Item Name="[ptr]">current - 1</Item>
</Expand>
</Type>
<Type Name="std::back_insert_iterator<*>">
<DisplayString>back_insert_iterator into {container}</DisplayString>
<Expand>
<Item Name="container">container</Item>
</Expand>
</Type>
<Type Name="std::front_insert_iterator<*>">
<DisplayString>front_insert_iterator into {container}</DisplayString>
<Expand>
<Item Name="container">container</Item>
</Expand>
</Type>
<Type Name="std::insert_iterator<*>">
<DisplayString>insert_iterator into {container} at {iter}</DisplayString>
<Expand>
<Item Name="container">container</Item>
<Item Name="iter">iter</Item>
</Expand>
</Type>
<Type Name="std::move_iterator<*>">
<DisplayString>move_iterator {current}</DisplayString>
<Expand>
<Item Name="current">current</Item>
</Expand>
</Type>
<Type Name="std::complex<*>">
<DisplayString Condition="(_Val[1] < 0) && (_Val[0] == 0)">-i*{-_Val[1]}</DisplayString>
<DisplayString Condition="(_Val[1] < 0) && (_Val[0] != 0)">{_Val[0]}-i*{-_Val[1]}</DisplayString>
<DisplayString Condition="_Val[1] == 0">{_Val[0]}</DisplayString>
<DisplayString Condition="(_Val[1] > 0) && (_Val[0] == 0)">i*{_Val[1]}</DisplayString>
<DisplayString Condition="(_Val[1] > 0) && (_Val[0] != 0)">{_Val[0]}+i*{_Val[1]}</DisplayString>
<Expand>
<Item Name="real">_Val[0]</Item>
<Item Name="imag">_Val[1]</Item>
</Expand>
</Type>
<Type Name="std::valarray<*>">
<DisplayString>{{ size={_Mysize} }}</DisplayString>
<Expand>
<ArrayItems>
<Size>_Mysize</Size>
<ValuePointer>_Myptr</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="std::basic_regex<*>">
<DisplayString Condition="_Rep == 0">empty</DisplayString>
<DisplayString Condition="_Rep != 0">{_Visualization}</DisplayString>
<StringView Condition="_Rep != 0">_Visualization</StringView>
<Expand/>
</Type>
<Type Name="std::sub_match<*>">
<DisplayString Condition="matched">{second - first}</DisplayString>
<DisplayString Condition="!matched">false</DisplayString>
<Expand>
<Item Name="matched">matched</Item>
<Item Name="first">first</Item>
<Item Name="second">second</Item>
</Expand>
</Type>
<Type Name="std::sub_match<std::_String_const_iterator<*> >">
<AlternativeType Name="std::sub_match<std::_String_iterator<*> >" />
<DisplayString Condition="matched">{second._Ptr - first._Ptr}</DisplayString>
<DisplayString Condition="!matched">false</DisplayString>
<Expand>
<Item Name="matched">matched</Item>
<Item Name="first">first</Item>
<Item Name="second">second</Item>
</Expand>
</Type>
<Type Name="std::match_results<*>">
<DisplayString Condition="!_Ready">not ready</DisplayString>
<DisplayString Condition="_Ready">{_Matches}</DisplayString>
<Expand>
<ExpandedItem Condition="_Ready">_Matches,view(simple)</ExpandedItem>
<Item Condition="_Ready" Name="[prefix]">_Prefix</Item>
<Item Condition="_Ready" Name="[suffix]">_Suffix</Item>
</Expand>
</Type>
<Type Name="std::regex_iterator<*>">
<!-- <SmartPointer Usage="Minimal">&_MyVal</SmartPointer> -->
<DisplayString Condition="_MyRe == 0">end</DisplayString>
<DisplayString Condition="_MyRe != 0">{_MyVal}</DisplayString>
<Expand>
<Item Condition="_MyRe != 0" Name="[begin]">_Begin</Item>
<Item Condition="_MyRe != 0" Name="[end]">_End</Item>
<Item Condition="_MyRe != 0" Name="[pregex]">_MyRe</Item>
<Item Condition="_MyRe != 0" Name="[flags]">_Flags</Item>
<Item Condition="_MyRe != 0" Name="[match]">_MyVal</Item>
</Expand>
</Type>
<Type Name="std::regex_token_iterator<*>">
<!-- <SmartPointer Usage="Minimal">_Res</SmartPointer> -->
<DisplayString Condition="_Res == 0">end</DisplayString>
<DisplayString Condition="_Res != 0">{*_Res}</DisplayString>
<Expand>
<Item Condition="_Res != 0" Name="[position]">_Pos</Item>
<Item Condition="_Res != 0" Name="[result]">_Res</Item>
<Item Condition="_Res != 0" Name="[suffix]">_Suffix</Item>
<Item Condition="_Res != 0" Name="[N]">_Cur</Item>
<Item Condition="_Res != 0" Name="[subs]">_Subs</Item>
</Expand>
</Type>
<Type Name="std::atomic<*>">
<DisplayString>{*($T1 *)&_My_val}</DisplayString>
<Expand>
<Item Name="[value]">*($T1 *)&_My_val</Item>
</Expand>
</Type>
<Type Name="std::atomic_flag">
<DisplayString>{(bool)(_My_flag & 1)}</DisplayString>
<Expand/>
</Type>
<!-- VC 2015 -->
<Type Name="std::recursive_mutex">
<DisplayString Condition="sizeof(void *) == 4u && *(int *)((char *)(&_Mtx_storage) + 44) == 0">unlocked</DisplayString>
<DisplayString Condition="sizeof(void *) == 4u && *(int *)((char *)(&_Mtx_storage) + 44) != 0">locked</DisplayString>
<DisplayString Condition="sizeof(void *) == 8u && *(int *)((char *)(&_Mtx_storage) + 76) == 0">unlocked</DisplayString>
<DisplayString Condition="sizeof(void *) == 8u && *(int *)((char *)(&_Mtx_storage) + 76) != 0">locked</DisplayString>
<Expand>
<Item Name="[locking_thread_id]" Condition="sizeof(void *) == 4u && *(int *)((char *)(&_Mtx_storage) + 44) != 0">*(long *)((char *)(&_Mtx_storage) + 40)</Item>
<Item Name="[locking_thread_id]" Condition="sizeof(void *) == 8u && *(int *)((char *)(&_Mtx_storage) + 76) != 0">*(long *)((char *)(&_Mtx_storage) + 72)</Item>
<Item Name="[ownership_levels]" Condition="sizeof(void *) == 4u && *(int *)((char *)(&_Mtx_storage) + 44) != 0">*(int *)((char *)(&_Mtx_storage) + 44)</Item>
<Item Name="[ownership_levels]" Condition="sizeof(void *) == 8u && *(int *)((char *)(&_Mtx_storage) + 76) != 0">*(int *)((char *)(&_Mtx_storage) + 76)</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::_Associated_state<*>">
<Expand>
<Item Name="[retrieved]">_Retrieved</Item>
<Item Name="[result]">_Result</Item>
<Item Name="[exception]">_Exception</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::promise<*>">
<AlternativeType Name="std::packaged_task<*>"/>
<DisplayString Condition="_MyPromise._State._Assoc_state == nullptr">empty</DisplayString>
<DisplayString Condition="_MyPromise._State._Assoc_state != nullptr && (*_MyPromise._State._Assoc_state)._Ready == 0">pending</DisplayString>
<DisplayString Condition="_MyPromise._State._Assoc_state != nullptr && (*_MyPromise._State._Assoc_state)._Ready == 1">has_result</DisplayString>
<Expand>
<ExpandedItem Condition="_MyPromise._State._Assoc_state != nullptr && (*_MyPromise._State._Assoc_state)._Ready == 1">*_MyPromise._State._Assoc_state</ExpandedItem>
<Item Name="[future_retrieved]" Condition="_MyPromise._State._Assoc_state != nullptr">_MyPromise._Future_retrieved</Item>
</Expand>
</Type>
<!-- VC 2015 -->
<Type Name="std::future<*>">
<AlternativeType Name="std::shared_future<*>"/>
<DisplayString Condition="_Assoc_state == nullptr">empty</DisplayString>
<DisplayString Condition="_Assoc_state != nullptr && (*_Assoc_state)._Ready == 0">pending</DisplayString>
<DisplayString Condition="_Assoc_state != nullptr && (*_Assoc_state)._Ready == 1">has_result</DisplayString>
<Expand>
<ExpandedItem Condition="_Assoc_state != nullptr && (*_Assoc_state)._Ready == 1">*_Assoc_state</ExpandedItem>
</Expand>
</Type>
<Type Name="std::pointer_to_unary_function<*>">
<AlternativeType Name="std::pointer_to_binary_function<*>" />
<DisplayString>ptr_fun({_Pfun})</DisplayString>
<Expand/>
</Type>
<Type Name="std::mem_fun_t<*>">
<AlternativeType Name="std::mem_fun1_t<*>" />
<AlternativeType Name="std::const_mem_fun_t<*>" />
<AlternativeType Name="std::const_mem_fun1_t<*>" />
<DisplayString>mem_fun({_Pmemfun})</DisplayString>
<Expand/>
</Type>
<Type Name="std::mem_fun_ref_t<*>">
<AlternativeType Name="std::mem_fun1_ref_t<*>" />
<AlternativeType Name="std::const_mem_fun_ref_t<*>" />
<AlternativeType Name="std::const_mem_fun1_ref_t<*>" />
<DisplayString>mem_fun_ref({_Pmemfun})</DisplayString>
<Expand/>
</Type>
<Type Name="std::binder1st<*>">
<DisplayString>bind1st({op}, {value})</DisplayString>
<Expand>
<Item Name="op">op</Item>
<Item Name="value">value</Item>
</Expand>
</Type>
<Type Name="std::binder2nd<*>">
<DisplayString>bind2nd({op}, {value})</DisplayString>
<Expand>
<Item Name="op">op</Item>
<Item Name="value">value</Item>
</Expand>
</Type>
<Type Name="std::auto_ptr<*>">
<DisplayString Condition="_Myptr == 0">empty</DisplayString>
<DisplayString Condition="_Myptr != 0">auto_ptr {*_Myptr}</DisplayString>
<Expand>
<Item Condition="_Myptr != 0" Name="[ptr]">_Myptr</Item>
</Expand>
</Type>
<!--Visualizer for coroutines-->
<Type Name="std::experimental::coroutine_handle<*>">
<DisplayString Condition="_Ptr->_Index == 2">{_Ptr->_Fn,na}, #initial suspend</DisplayString>
<DisplayString Condition="_Ptr->_Index == 0">{_Ptr->_Fn,na}, #final suspend</DisplayString>
<DisplayString Condition="_Ptr->_Index != 2 && _Ptr->_Index != 0">{_Ptr->_Fn,na}, suspend point #{(_Ptr->_Index)/2 - 1}</DisplayString>
<DisplayString>{_Ptr->_Fn,na}</DisplayString>
<Expand>
<Item Condition="_Ptr->_Index == 2" Name="Suspend Point">"initial suspend"</Item>
<Item Condition="_Ptr->_Index == 0" Name="Suspend Point">"final suspend"</Item>
<Item Condition="_Ptr->_Index != 2 && _Ptr->_Index != 0" Name="Suspend Point">(_Ptr->_Index)/2 - 1</Item>
<ExpandedItem>this,view(ViewPromise)</ExpandedItem>
</Expand>
</Type>
<!--Do not display the promise when promise type is void-->
<Type Name="std::experimental::coroutine_handle<void>" IncludeView="ViewPromise">
<Expand/>
</Type>
<!--Evaluate and display the promise-->
<Type Name="std::experimental::coroutine_handle<*>" IncludeView="ViewPromise">
<Expand>
<Item Name="Promise">*reinterpret_cast<$T1 *>(reinterpret_cast<char*>(_Ptr) - _ALIGNED_SIZE)</Item>
</Expand>
</Type>
</AutoVisualizer>
还有一种用法,就是将这种方法适用于所有的程序,不需要一个一个工程的添加,如下所示:
版权声明:本文为ljt350740378原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。