views:

281

answers:

1
+1  A: 

Dont always trust the debugger, I have had many of times where the debugger is just wrong about whats in the variable, just like in your case it says invalid when it really isnt, so if i were you i would just output the number with NSLog and see if it outputs (it will).

Daniel
Thanks Daniel, I hope you're right because these types of bugs certainly interrupt my workflow... what drew me to this point was that the app crashes while iterating through the array, at that value. Same goes when I use NSLog to read the class or value. I've since moved on to plists for the testing, but I'd be really relieved if I could understand this problem some day. Thanks again.
Serge