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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With