If the execution of the application continues after the save: method without any problems (i.e., without throwing any uncaught exception and without reporting any error), this means that the implementation of the save operation has thrown the exception and decided to silently ignore it.
Why this happens is not clear: perhaps the implementation uses exceptions to report internal errors (this is not the way Objective-C exceptions should be used, but some other languages ββuse more exceptions). As long as the exception is caught before it reaches your own code, you should not worry about that.
If you want to know the reason for the exception, you can break objc_exception_throw and use the following debugger command:
po *(id *)($ebp + 8)
In this case, the NSException * parameter set by the function in the iOS simulator (x86 architecture) will be displayed. On a device (reinforcing architecture), the same result can be achieved using (if my memory serves me correctly):
po $r0
source share