• 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: How to get the value of a NSNumber contained in an array while debugging ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the value of a NSNumber contained in an array while debugging ?


  • Subject: Re: How to get the value of a NSNumber contained in an array while debugging ?
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 3 Aug 2008 16:09:12 -0600


On Aug 3, 2008, at 1:39 PM, MAGDELENAT Philippe wrote:

Yep found that but I want so see the value of my NSNumber in the GUI debgger (in XCode). I want to see my array (it shows something like 10 objects for the summary) and then, if I open the array I want the summary to work for each of the NSNumber inside. Bellow you can see that aNumber is well shown but that the same formatter isn't working inside the array...


Data formatters have been notoriously unreliable since Xcode 1.0 or so. I usually turn them off, since they don't always work (as you've noticed), and they sometimes screw up debugging sessions, leading to a timeout, in which case the only remedy is to pull the plug and start again from the top.

If you need to inquire about the state of objects, the best way to do it is manually, as long as you know that the object has been allocated.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to get the value of a NSNumber contained in an array while debugging ?
      • From: MAGDELENAT Philippe <email@hidden>
References: 
 >How to get the value of a NSNumber contained in an array while debugging ? (From: MAGDELENAT Philippe <email@hidden>)
 >Re: How to get the value of a NSNumber contained in an array while debugging ? (From: Jens Alfke <email@hidden>)
 >Re: How to get the value of a NSNumber contained in an array while debugging ? (From: MAGDELENAT Philippe <email@hidden>)

  • Prev by Date: Re: Restarting an app -- AppleScript 'launch' in a detached shell
  • Next by Date: Re: CoreData fetched property: one-to-one-to-many relationship
  • Previous by thread: Re: How to get the value of a NSNumber contained in an array while debugging ?
  • Next by thread: Re: How to get the value of a NSNumber contained in an array while debugging ?
  • Index(es):
    • Date
    • Thread