• 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: Debugger: How to read structures?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger: How to read structures?


  • Subject: Re: Debugger: How to read structures?
  • From: email@hidden
  • Date: Sun, 6 Jun 2004 22:07:28 -0400

Fantastic!

Thanks!

Ric.

Quoting email@hidden:

> In the debugger console  you can evaluate expressions like:
>
> 	(gdb) po myArray
>
> 	(gdb) po [myArray objectAtIndex:0]
>
> 	(gdb) po myDictionary
>
> 	(gdb) po [myDictionary allKeys]
>
> 	(gdb) po [myDictionary objectForKey:@"someKey"]
>
> etc, etc
>
> -ChrisF
>
> On May 27, 2004, at 4:09 PM, Frederick C. Lee wrote:
>
> > Greetings:
> > 	I'm trying to read elements of a NSArray & NSDictionary.  All I see
> > are 'ivar's and numbers.  I'm assuming they're pointers to where the
> > data is.
> >
> > Simple question: How can I track down & read elements of structures
> > (NSArray & NSDictionary) in NSString format?
> >
> > Regards,
> >
> > Ric
> > _______________________________________________
> > xcode-users mailing list | email@hidden
> > Help/Unsubscribe/Archives:
> > http://www.lists.apple.com/mailman/listinfo/xcode-users
> > Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Debugger: How to read structures? (From: email@hidden)

  • Prev by Date: Re: Debugger: How to read structures?
  • Next by Date: indexer deficiencies
  • Previous by thread: Re: Debugger: How to read structures?
  • Next by thread: indexer deficiencies
  • Index(es):
    • Date
    • Thread