This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Jul 22, 2013 5:55 AM by Adrian !  
Adrian ! Newbie 7 posts since
Oct 20, 2011
Currently Being Moderated

Jul 15, 2013 10:42 AM

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?

 

Thanks.

Anton Makeev JetBrains 1,266 posts since
Dec 19, 2006
Currently Being Moderated
Jul 17, 2013 6:12 PM in response to: Adrian !
Re: How to tell the debugger not to break on signals?

Adrian, currently there is no such functionality in AppCode.

Could you please file a request in our tracker and describe the use case? I mean in what scenario does stopping on signals become a problem?

More Like This

  • Retrieving data ...