3

I am making some development on Xcode for a OS X application. I need to send SIGUSR1 to the application by:

  kill(getpid(), SIGUSR1)

This worked. However, each time the SIGUSR1 sent, Xcode was blocked to show me that a signal was caught. Can I make Xcode simply ignore this signal and keep continous running during debugging?

Thank you at advance!

Andrew Chang
  • 1,289
  • 1
  • 18
  • 38

1 Answers1

2

Borrowing shamelessly from this question you can use something like

process handle SIGUSR1 -n true -p true -s false

from the LLDB console. The accepted answer to that question has a method for enabling this automatically on every run.

Robin Macharg
  • 1,468
  • 14
  • 22