【问题标题】:What debugger tools do you use to look at contents of a STL container (on linux)您使用哪些调试器工具来查看 STL 容器的内容(在 linux 上)
【发布时间】:2010-11-13 01:27:10
【问题描述】:

我使用 gdb(实际上是 DDD),从容器中取出元素是不可能的。因此,出于调试目的,我通常会滚动自己的循环...

你是做什么的?

【问题讨论】:

    标签: c++ debugging stl gdb unix


    【解决方案1】:

    Qt Creatorcapable of visualizing Qt 容器和 STL 容器。

    正在进行work 以让GDB 单独支持pretty printing。到目前为止,它还没有进入任何官方版本,但 Fedora 11 shipped it already

    【讨论】:

      【解决方案2】:

      这是vectorsmaps 的一些先前答案 - 特别注意地图问题中的第一个答案。

      【讨论】:

        猜你喜欢
        • 2011-01-30
        • 1970-01-01
        • 2010-12-25
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-09-11
        • 2010-12-06
        相关资源
        最近更新 更多