在debuging期间观察CMap对象值。 [英] Watch CMap object value during debuging.

查看:57
本文介绍了在debuging期间观察CMap对象值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在visual studio 2008中调用visual c ++代码时如何查看CMap对象内的值?

解决方案

当你看 CMap时变量,你会看到一个 m_pHashTable 成员。

这个哈希表有一个 pNext member。

您需要继续关注 pNext ,直到其值为NULL才能看到地图中的所有项目。

how to see the values inside CMap object when debuging a visual c++ code in visual studio 2008?

解决方案

When you watch a CMap variable, you will see a m_pHashTable member.
This hash table has a pNext member.
You need to keep following pNext until its value is NULL to see all the items in the map.


这篇关于在debuging期间观察CMap对象值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆