I'm struggling to get to the bottom of the exception that occurred as a result of calling the method on an AVAudioRecorder instance. I have an exception point configured, but I cannot get any useful information from the stack trace. The point at which the exception is thrown is located during the call:
[recorder prepareToRecord];
If I turn off breakpoints, the application works fine, without any negative effects. The recorder is working fine. To be clear, the specifics of the situation are not so important. It is rather a case of "What should I do in such a situation to solve the problem?" I see no way to find out more about this problem using the available tools. The documentation on ACBaseCodec seems outdated and does not shed light on what might throw an exception.
Stack Trace from Debug Navigator:

Stack trace from a separate thread:

Is there any way to find out what caused this exception?
source share