如何在调试器中获得数据结构的良好视图?

发布于 2024-09-04 08:29:51 字数 174 浏览 0 评论 0原文

我正在调试一个经常使用 Rogue Wave 的 Visual C++ 项目。我想轻松查看 RW 容器的内容,即我想查看列表元素而不是:

我的选项是什么? autoexp.dat 可以做到这一点吗?

I am debugging a Visual C++ project that uses Rogue Wave a lot. I would like to see content of RW containers easily, i.e. i want to see list elements instead of this:

What are my options? Can autoexp.dat do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悍妇囚夫 2024-09-11 08:29:51

autoexp.dat 可以做到,但相当困难。

您还可以编写自己的调试器扩展来可视化它们,将它们放入 DLL 中并在 autoexp.dat 中引用它。但话又说回来,这非常困难。

首先在 autoexp.dat 中查看如何为标准 STL 容器(向量、列表、地图、字符串...)定义预览,然后尝试为您自己的 RWTIsvSlist 类模仿这一点。

autoexp.dat can do it but it's quite difficult.

You can also write your own debugger extensions to visualize them, put them in a DLL and refer to it in autoexp.dat. But again, this is quite difficult.

First see in autoexp.dat how the preview is defined for the standard STL containers (vector, list, map, string, ...), then try to mimic this for your own RWTIsvSlist class.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文