How to see multi-byte strings in Xcode -
Is it possible to see the strings that use 16 bit characters in Xcode debugger? I use custom string class, not NSString. The wire taps have been eliminated. The only way I can see the stars is if I see them as a memory but they become difficult to read.
Thank you!
You will need to type the data formater bundle - just writing the data formatter expression inside the debugger is not enough in the Xcode debugger Viewing a string is a black art. Even once you've written the data format bundle, be prepared for them that at least 50% of the time does not work. We are fighting on this issue for almost 5 years. Most of the time, Debugger will tell you that they are not really living within the boundaries of the variable, and you still need to drill to see the raw memory.
Something like this makes it easy (I have not done this) in the class to write a method that gives a NSString
and then you can show the data format expression something useful. May be enabled.
Comments
Post a Comment