Rich
Rich

Reputation: 531

How to display strings in Xcode debugger?

I always used to be able to see NSString values in the debugger, without problem. Since updating to 3.2.5 all I see is the format string {(char *)Xcode_CFStringSummary($VAR, $ID)}:s

I can't see anything wrong with that. Can anybody please tell me what the correct formatter should be?

Upvotes: 11

Views: 5452

Answers (2)

OlduwanSteve
OlduwanSteve

Reputation: 1295

I also had this problem and at the same time I noticed a couple of errors about missing symbols for xcode debug libraries (see here). Fixing the errors as described in the link also made my strings start working again. I realise you are talking about a different version of the SDK, but maybe the problem is the same.

Upvotes: 0

Steve
Steve

Reputation: 572

I'm having this same problem and haven't found a solution. But at least I did figure out you can still view the strings by right clicking on the string variable and selecting "Print Description to Console".

Upvotes: 9

Related Questions