I am working on an iPad application, and the last change I made causes the application to die with a โSIGTRAP signalโ. Stack tracing does not help, and I cannot determine which part of the code calls this (but I know which function it starts with).
Without going into details about the application, I was wondering if there are any general tips for debugging this type (SIGTRAP)?
I managed to narrow down which function call calls this. The strange thing is that if I break down and go into a function, then it works fine. But if I let him work without a breakpoint, it will work.
The function calls a bunch of other things that also include asynchronous network connections. I put magazines all over my code, and all my magazines print well, so it seems like something "under the hood" is causing this crash. Am I also using a third-party framework that can cause this problem?
Is this even a problem with the code? I read somewhere that SIGTRAP is a debugging thing.
What causes such a crash and where should I focus on eliminating it?
Any help you can provide is greatly appreciated.
Thanks!
source share