When debugging my program in the Xcode debugger, if I hover over an array variable, the Xcode debugger was used to show me how many objects were in the array, and I could even examine the objects themselves.
Somewhere along the line, this functionality was broken, and now it just says that there are “-1812597152 objects” in all my arrays, and I do not have access to individual objects.
Does anyone know what went wrong? or better yet, how to fix it?
Edit:
This happens for all arrays, so I don't think this is a persistence problem.
I checked custom data views with no luck. Sorry, moving the plist in
~ / Library / Application Support / Apple / Developer Tools / CustomDataViews /
had no effect and in
there were no files.~ / Library / Application Support / Developer / General / Xcode / CustomDataViews /
And here is the entry for arrays in /Developer/Library/Xcode/CustomDataViews/Foundation.plist
<key>NSArray *</key>
<dict>
<key>SummaryString</key>
<string>{(int)[$VAR count]} objects</string>
</dict>
Which looks pretty good to me.
source
share