title: iOS: signal SIGTRAP with no breakpoints?
body: <p>I'm working on an iPad application and a recent change I made is causing the app to die with "signal SIGTRAP".  The stack trace doesn't help and I can't pinpoint what part of the code is causing this to happen (but I do know which function it starts from).</p>
  
  <p>Without going into details about the application I was wondering if there are some general tips for debugging this kind of thing (SIGTRAP)?</p>
  
  <p>I've managed to narrow down which function call causes this to happen.  The weird thing is that if I break and step into the function then it works fine.  But if I let it run without a breakpoint then it crashes.</p>
  
  <p>The function calls a bunch of other things which also involve asynchronous network connections.  I put logs all over my code and all my logs print fine, so it seems something "under the hood" is causing this failure.  I'm also using a 3rd party framework which may be causing this issue?</p>
  
  <p>Is this even a code-related issue?  I read somewhere that SIGTRAP is a debugger thing.</p>
  
  <p>What causes this kind of crash and where should I be focusing my efforts to fix it?  </p>
  
  <p>Any help you can provide is greatly appreciated.</p>
  
  <p>Thanks!</p>