When debugging with lldb, sometimes you can be bothered with signals being raised and stopping your application at places you don’t really care about. This is the case for instance with apps using sockets and using the SIGPIPE signal to be notified of disconnections.
By default, lldb will stop on SIGPIPE, but you can change that behaviour using this command:
(lldb) pro hand -p true -s false -n true SIGPIPE NAME PASS STOP NOTIFY ========== ===== ===== ====== SIGPIPE true false true
In our example, we want the signal to be delivered to the application because it is relying on that signal to know about the state of the socket (-p true). We don’t want to stop each time such a signal is raised though, so we use “-s false”. The last argument will change whether a message will be logged in the lldb console when the signal is raised.