【发布时间】:2015-04-16 08:41:55
【问题描述】:
我从这里获得了 EASTL - https://github.com/paulhodge/EASTL
为了调试,我正在编写自定义可视化工具 VS2012/2013。
"eastl::vector" 工作正常,但 "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 无法识别“node_type”
感谢您的回复。
【问题讨论】:
-
只显示默认信息(非自定义)。我发现当 natvis 文件中的错误时会发生这种情况