Function esp_idf_sys::esp_cpu_set_breakpoint
source ยท pub unsafe extern "C" fn esp_cpu_set_breakpoint(
bp_num: c_int,
bp_addr: *const c_void,
) -> esp_err_t
Expand description
@brief Set and enable a hardware breakpoint on the current CPU
@note This function is meant to be called by the panic handler to set a breakpoint for an attached debugger during a panic. @note Overwrites previously set breakpoint with same breakpoint number. @param bp_num Hardware breakpoint number [0..SOC_CPU_BREAKPOINTS_NUM - 1] @param bp_addr Address to set a breakpoint on @return ESP_OK if breakpoint is set. Failure otherwise