Hi everyone, I've got a really annoying and pesky problem! 
Some array in my application is throwing an NSRangeException, but I have no idea which array it is! This is the error:
Any thoughts on how to figure out exactly which array is causing this? I've tried breakpoints and also many NSLog statements to find where the exception is being thrown, but I haven't been successful. (This is in some code where there are 3-5 nested loops and if statements) Thanks!
Some array in my application is throwing an NSRangeException, but I have no idea which array it is! This is the error:
Code:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 8 beyond bounds [0 .. 6]'
Any thoughts on how to figure out exactly which array is causing this? I've tried breakpoints and also many NSLog statements to find where the exception is being thrown, but I haven't been successful. (This is in some code where there are 3-5 nested loops and if statements) Thanks!