Re: Xcode debugger & NSString display
Re: Xcode debugger & NSString display
- Subject: Re: Xcode debugger & NSString display
- From: Fritz Anderson <email@hidden>
- Date: Sun, 08 Dec 2013 17:17:40 -0600
On 8 Dec 2013, at 2:43 PM, Peter Teeson <email@hidden> wrote:
> My environment: OS X Lion 10.7.5, Xcode 4.6.3
> I have Googled, and StackOverFlowed but not yet found what can be done.
>
... [The Debugger IDE doesn't show the contents of immutable strings in the Variables pane, even though they show up in the lldb console] ...
> Questions
>
> (0) Did I miss something?
> (1) How can this be solved to display the data for _NSCFConstantStrings?
I hope somebody has experience to draw on to help you, but I fear many people would say this:
The best way to address a bug in software that is one major version back, running on an operating system two major versions back, is to use current versions of both. Back then, especially, lldb and Xcode were "improving rapidly," which is a euphemism for "even the immediately previous version is unusable compared to the latest."
If business constraints force you to use those versions, that's not a good answer. I hope somebody knows better.
If you only want at-a-glance access to the contents of those strings, at particular points in the code, you could set breakpoints (they can continue execution after they strike, if you wish) with commands like "po plain2" attached. It won't be in the variables pane, but it'll be at the bottom of the lldb console.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden