我从这里得到了EASTL - https://github.com/paulhodge/EASTL
为了进行调试,我正在编写自定义可视化工具VS2012 / 2013。
" EASTL ::矢量"工作正常,但" eastl :: map"没有按'吨
这是我的代码
<Type Name="eastl::map<*>">
<DisplayString>{{size = {mnSize}}}</DisplayString>
<Expand>
<Item Name="[size]">mnSize</Item>
<Item Name="[comp]">mCompare</Item>
<TreeItems>
<Size>mnSize</Size>
<HeadPointer>mAnchor.mpNodeParent</HeadPointer>
<LeftPointer>mpNodeLeft</LeftPointer>
<RightPointer>mpNodeRight</RightPointer>
<ValueNode>(node_type*)this->mValue</ValueNode>
</TreeItems>
</Expand>
</Type>
看起来VS无法识别&#34; node_type&#34;
感谢您的回复。
答案 0 :(得分:0)
我对EASTL也有同样的问题。
原来我使用的是EASTL.natvis
的旧版本。这个对我有用:https://github.com/electronicarts/EASTL/blob/master/doc/EASTL.natvis
您必须替换的文件位于:
%userprofile%\Documents\Visual Studio 2015\Visualizers
(只需将2015更改为您正在使用的任何VS版本)