• 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
NSString and gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString and gdb


  • Subject: NSString and gdb
  • From: "Simson Garfinkel" <email@hidden>
  • Date: Sat, 24 Nov 2001 19:37:21 -0500

Really simple question here: How do you display the value of an NSString
inside GDB?

If NSString *str = @"foo be do be";

I know you can do something like:

p (char *)[str cString];

but that seems really annoying.

Anybody got an easier way?


  • Follow-Ups:
    • Re: NSString and gdb
      • From: Max Horn <email@hidden>
  • Prev by Date: Re: NSTextField delegate textDidChange:
  • Next by Date: Re: NSString and gdb
  • Previous by thread: Working with HTML in NSAttributedString
  • Next by thread: Re: NSString and gdb
  • Index(es):
    • Date
    • Thread