CCDictionary 用调试器查看问题

if(dic->objectForKey("uid"))
        uid = dic->valueForKey("uid")->getCString();断点已经走到这了
    else
        uid="";
(lldb) p dic->objectForKey("uid")
error: no member named 'objectForKey' in 'cocos2d::CCDictionary'
error: 1 errors parsing expression
(lldb) p dic->ob

但是在调试器里,就是输出不了

ccDictionary的信息,也差看不了,只能打日志输出了

若有能人,望告知

posted @ 2015-12-25 17:34  義丨往昔灬miller  阅读(138)  评论(0编辑  收藏  举报