h6. [[OS SWI Calls]] h6(. » OS_BreakPt h2. OS_BreakPt h5. (SWI &17) |_<^{width:3em}. Entry | | |<^. - |<^. - | |_<^{width:3em}. Exit | | |<^. - |<^. - | h4. Use The purpose of this call is to cause a BreakPoint trap, and the BreakPoint handler to be entered. h4. Notes When this is executed, all user mode registers are saved into a block and the BreakPoint handler is called. The saved registers are only guaranteed to be correct for user mode. The default handler displays the message 'Break point at &xxxxx' and calls [[OS_Exit]]. This SWI would be placed in code by the debugger at required breakpoints. The handler can be changed with [[OS_ChangeEnvironment]]. h4. See also * [[OS_BreakCtrl]] * [[OS_ChangeEnvironment]]