How can I quickly see the value of NSCFString in the debugger window?

What's the fastest way to see the value of the NSCFString variable in the debugger window?

As far as the NSString is concerned, the string value is automatically displayed in the window, or you hover over it. But for NSCFString I tried the same thing, but can't find the inner string.

+2


a source to share


1 answer


When the program stops at your breakpoint, have you tried typing the following command into the xcode output console

po myNSCFString

      



is myNSCFString

your variable NSCFString

.

0


a source







All Articles