title: How to prevent EXC_BAD_ACCESS from crashing an app?
body: <p>Is there a way to prevent an <code>EXC_BAD_ACCESS</code> from crashing an app, like with <code>@try..@catch</code> you can handle an exception gracefully.</p>
  
  <p>Update:</p>
  
  <p>The code crashes when it attempts to dereference an invalid pointer.  This is a third party library and it interfaces with external hardware so I can't debug locally.  I am trying to prevent it from crashing and output data to a debugging console on my app.</p>