How to tell the debugger not to break on signals?

Hi all,

Whenever a signal is raised, the debugger pauses. This is a real nuisance (in my current application at least). Is there any way to prevent this?

You can tell lldb not to stop on particular signals - eg. "process handle SIGSEGV -n true -p true -s false" - but this has to be done every time the app is run, which is no good.

In XCode, the workaround is to create a non-pausing breakpoint that sends the above command to lldb; inelegant, but it works.

Am I missing something, or is there no way to accomplish this in AppCode?



Please sign in to leave a comment.