Instance Method


Raises a debugger signal upon receiving a failure.


func breakpointOnError() -> Publishers.Breakpoint<Self>

Return Value

A publisher that raises a debugger signal upon receiving a failure.


When the upstream publisher fails with an error, this publisher raises the SIGTRAP signal, which stops the process in the debugger. Otherwise, this publisher passes through values and completions as-is.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software