Re: How to get the value of a NSNumber contained in an array while debugging ?
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: MAGDELENAT Philippe <email@hidden>
- Date: Mon, 4 Aug 2008 00:38:18 +0200
That's what I start to understand... Quite strange when used to Java
(and java ide) for the last decade :o)
Found a guy bothered with the same problem about a year ago (http://briksoftware.com/blog/?p=24
). Still I am not sure to get why XCode can't do what seems (to me :o)
a fairly simple action but it seems, considering the explanation on
the linked page, that it comes from the way xcode works with gdb (and
from gdb itself).
Thanks again, I now look at the command line (a kind of return to good
old times but hey, everything has a price :o)
Phil
Le 4 août 08 à 00:09, Nick Zitzmann a écrit :
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