在debuging期间观察CMap对象值。 [英] Watch CMap object value during debuging.
本文介绍了在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 aCMap
variable, you will see am_pHashTable
member.
This hash table has apNext
member.
You need to keep followingpNext
until its value is NULL to see all the items in the map.
这篇关于在debuging期间观察CMap对象值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文