Xcode has the wrong debug values while paused in the debugger
问题 I am having a strange problem in Xcode. After I use insertObject:withIndex: on this NSMutableArray object, the debug window shows the wrong value for the array even though the correct values are show for the other locals and this assertion is one step away from passing. I noticed this was happening in the application I was developing, because it seemed the method on that object was not working correctly. I wrote the unit test to demonstrate the issue I was having, and expecting it to fail,