开发者

How to quick view the value of NSCFString in debugger window?

开发者 https://www.devze.com 2022-12-29 18:59 出处:网络
Which is the quickest way to view the value of a NSCFString variable in debugger window? As for NSString, the string value is automatically displayed in the window or you move your mouse over it. But

Which is the quickest way to view the value of a NSCFString variable in debugger window?

As for NSString, the string value is automatically displayed in the window or you move your mouse over it. But for a NSCFString, I tried same but cannot find the internal str开发者_运维知识库ing.


When the program stops in your breakpoint, did you try typing the following into xcode's output console

po myNSCFString

being myNSCFString your NSCFString variable.

0

精彩评论

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

关注公众号