• 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: Matt Neuburg <email@hidden>
  • Date: Sun, 13 Sep 2009 10:36:59 -0700
  • Thread-topic: viewing entities in the debugger

On Fri, 11 Sep 2009 17:14:27 -0400, Jeff Schilling
<email@hidden> said:
>So in gdb you enter
>po [arrayControllerName arrangedObjects]
>that should get you what you need.

Perhaps I did not express myself very clearly. What I am trying to point out
is that the controller evidently *intends* to show me some entity values -
that is apparently what the Last, All, and Next buttons are about. But there
are no values; the Last, All, and Next buttons are the only thing I see when
I open the flippy triangle, and clicking them does nothing except change
what buttons are present.

If I choose View in Expressions Window, I *do* sometimes see some values
there, displayed via the _objects ivar. (And I can then print a single
entity's description to the console.) But therefore, I also expect to see
the _objects ivar, and these values, in the regular old variables window.
But I don't. All I see is these buttons.

So that looks like a bug to me.

m.

>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

  • Follow-Ups:
    • Re: viewing entities in the debugger
      • From: Jeff Schilling <email@hidden>
  • Prev by Date: Re: Java/Objective C
  • Next by Date: Re: unicode text in the console
  • Previous by thread: Re: viewing entities in the debugger
  • Next by thread: Re: viewing entities in the debugger
  • Index(es):
    • Date
    • Thread