Function core::source ·
arch:: arm:: __breakpoint
pub unsafe fn __breakpoint(const VAL: i32)
🔬This is a nightly-only experimental API. (
Available on ARM only.
Inserts a breakpoint instruction.
VAL is a compile-time constant integer in range
The breakpoint instruction inserted is
BKPT on A32/T32.
ARM’s documentation defines that
__breakpoint accepts the
following values for
0...65535when compiling as A32,
0...255when compiling as T32.
The current implementation only accepts values in range