Re: viewing entities in the debugger
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