• 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 18:47:32 -0700

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.


  • Follow-Ups:
    • Re: Debugger: How to read structures?
      • From: email@hidden
  • Prev by Date: Re: debugging CLI stuff
  • Next by Date: Re: Debugger: How to read structures?
  • Previous by thread: Re: debugging CLI stuff
  • Next by thread: Re: Debugger: How to read structures?
  • Index(es):
    • Date
    • Thread