Skip to main content

clear_breakpoint_handler

Function clear_breakpoint_handler 

Source
pub fn clear_breakpoint_handler()
Expand description

Forget any installed handler, so every later :bp is a no-op.

The crash debugger’s path needs this: a fault hands the terminal to the debugger, and restart (§9.7) re-runs the program from inside that screen — a stop handler firing there would take the terminal from the debugger already holding it. Disarming before the hand-off is what keeps the two surfaces from fighting over it.