开发者

How to get a nice view of data structure in debugger?

开发者 https://www.devze.com 2023-01-02 11:06 出处:网络
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 ele开发者_JS百科ments instead of this:

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 ele开发者_JS百科ments instead of this:

How to get a nice view of data structure in debugger?

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号