• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode debugger & NSString display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Xcode debugger & NSString display
      • From: Peter Teeson <email@hidden>
References: 
 >Xcode debugger & NSString display (From: Peter Teeson <email@hidden>)

  • Prev by Date: Re: Dependency cycle for target "xxx.lib" detected: xxx.lib -> xxx.lib
  • Next by Date: Re: Xcode debugger & NSString display
  • Previous by thread: Xcode debugger & NSString display
  • Next by thread: Re: Xcode debugger & NSString display
  • Index(es):
    • Date
    • Thread