breakpoint

Function breakpoint 

Source
pub fn breakpoint()
Expand description

You can set a breakpoint on this function to break into the debugger when asserts want to trigger a breakpoint.

If the nightly feature is enabled, this calls core::arch::breakpoint(), so you don’t have to set a breakpoint manually in that case.