获取NSTaggedPointerString的值

时间:2016-05-18 16:23:33

标签: xcode debugging nstaggedpointerstring

我正在尝试调试我的程序,我有一本字典,我试图在调试器中检查;但是,当我在调试器中查看字典时,它看起来像这样:

Debugger

大多数密钥都列为NSTaggedPointerString,我无法看到该值。为什么这样,我怎样才能获得密钥的价值?

1 个答案:

答案 0 :(得分:0)

As rmaddy said in the comment above, you can right-click on the key, or any NSTaggedPointerString in the Variables View and select "Print Description of VariableNameHere", and it will print out to the Console.

I'm just posting this as an answer to make it more obvious to people who need the answer, like me.