• 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: viewing entities in the debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: viewing entities in the debugger


  • Subject: Re: viewing entities in the debugger
  • From: Jeff Schilling <email@hidden>
  • Date: Fri, 11 Sep 2009 17:14:27 -0400

Matt,

Are you referring to Core Data entities?

The 'arrangedObjects' method on NSArrayController will return the NSArray of objects managed by the NSArrayController.

If so, you can enter the following in the console (of XCode)


So in gdb you enter

po [arrayControllerName arrangedObjects]

that should get you what you need.

-jeff



On Sep 11, 2009, at 4:19 PM, Matt Neuburg wrote:

I'm hoping to get a look at my entities in the debugger. I've got an outlet
to the NSArrayController that manages the entities, but when I open its
flippy triangle in the variable list, I see buttons labelled "Last" and
"All" that don't do anything discernable, and nothing else. Am I trying to
do something that GDB just doesn't do? (In general I don't seem to be having
any luck viewing collections in the debugger.) Thx - m.


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________
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

_______________________________________________ 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
References: 
 >viewing entities in the debugger (From: Matt Neuburg <email@hidden>)

  • Prev by Date: unicode text in the console
  • Next by Date: Re: [OT] iPhone config file for bug reporter
  • Previous by thread: viewing entities in the debugger
  • Next by thread: Re: viewing entities in the debugger
  • Index(es):
    • Date
    • Thread