I am using Xcode 6 (GM, I have not downloaded beta) and I am developing applications for iOS 7+. For all my projects, I just opened the same projects as before in Xcode 5.
In the Breakpoint navigator, I enabled the All Exceptions breakpoint. It is set to Break: On Throw . Now, every time I run my application (whether on the device or in the simulator), it stops execution on the return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); line return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); in the main() function.
If I press Play to continue the program twice, the program works fine. Thus, this does not stop me from working, but I still have to manually execute each time and reset my editors.
I like the behavior I set in Xcode (moving the current editor to where the execution is paused), and having this All Exceptions breakpoint is an important IMO. (Therefore, I do not want to change them)
By running the same code, with the same environments, for iOS 7 target (again, a device or a simulator), an exception is not thrown.
Is it possible to understand what might cause this strange behavior?
objective-c xcode ios8 xcode6
invalidArgument Sep 30 '14 at 17:51 2014-09-30 17:51
source share