Function lrs::intrinsics::breakpoint

Raises a SIGTRAP.

Syntax

unsafe extern "rust-intrinsic" fn breakpoint() -> ()

Remarks

This is useful for debugging as it causes debuggers to interrupt the program at this point. Note that the program will terminate if the signal is not caught.