Having Followed these threads:
- Xcode always stopping at main.m after a crash
- Xcode 4.2 showing the wrong line of code on error
- Debugging app crashes with iOS Simulator & XCode 4 halts in main() function, not crash source
I am still crashing at 'main' as opposed to the actual line of the crash.
- Oddly Works on iOS 4.3 simulator!
- Does not work on iOS 5.1 simulator, or the iOS 5.0 simulator
- I have the exception breakpoint setup and active. (Exception: All, Break: On Throw. Also have tried Break: On Catch)
- Using Apple LLVM 3.1 compiler
- Base SDK 5.1
- Deploy target set to 4.0
- Configuration is set to debug
- Project is ARC enabled
- XCode 4.3
Thanks
obj = value;instead ofself.obj = value;. iOS 4 simulator silently ignores those, iOS 5 is more picky it seems. Step thru the code with the debugger or use NSLog() to find out how far you get. - ott--