How to display strings in Xcode debugger?
Asked Answered
F

2

11

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?

Fornicate answered 1/12, 2010 at 10:28 Comment(1)
I'm still struggling with this and debugging without seeing any strings. Very frustrating. Can anybody help please?Fornicate
M
9

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".

Murdock answered 9/12, 2010 at 16:33 Comment(2)
Thanks a lot for that tip! You having trouble too, after updating? I was surprised not to find any reference to it anywhere.Fornicate
Hi Steve, did you find the solution?Cratch
C
0

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.

Calloway answered 10/4, 2011 at 13:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.