适用于EASTL VS2012 / 2013的定制展示台

时间:2015-04-16 08:41:55

标签: debuggervisualizer eastl

我从这里得到了EASTL - https://github.com/paulhodge/EASTL

为了进行调试,我正在编写自定义可视化工具VS2012 / 2013。

" EASTL ::矢量"工作正常,但" eastl :: map"没有按'吨

这是我的代码

<Type Name="eastl::map&lt;*&gt;">
    <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-&gt;mValue</ValueNode>
        </TreeItems>
    </Expand>
</Type>

看起来VS无法识别&#34; node_type&#34;

感谢您的回复。

1 个答案:

答案 0 :(得分:0)

我对EASTL也有同样的问题。

原来我使用的是EASTL.natvis的旧版本。这个对我有用:https://github.com/electronicarts/EASTL/blob/master/doc/EASTL.natvis

您必须替换的文件位于:

%userprofile%\Documents\Visual Studio 2015\Visualizers

(只需将2015更改为您正在使用的任何VS版本)