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

Re: NSString and gdb


  • Subject: Re: NSString and gdb
  • From: Max Horn <email@hidden>
  • Date: Sun, 25 Nov 2001 02:09:31 +0100

At 19:37 Uhr -0500 24.11.2001, Simson Garfinkel wrote:
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?


po str



Cheers,

Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:email@hidden>
phone: (+49) 6151-494890


  • Follow-Ups:
    • Re: NSString and gdb
      • From: "Simson Garfinkel" <email@hidden>
References: 
 >NSString and gdb (From: "Simson Garfinkel" <email@hidden>)

  • Prev by Date: NSString and gdb
  • Next by Date: Re: NSString and gdb
  • Previous by thread: NSString and gdb
  • Next by thread: Re: NSString and gdb
  • Index(es):
    • Date
    • Thread