Function moras::modules::riscv::middleware::frontend_api::set_breakpoint
source ยท pub fn set_breakpoint(
cur_tab_name: State<'_, CurTabName>,
tab_map: State<'_, TabMap>,
line: u64,
) -> Optional
Expand description
Sets a breakpoint at a specified line in the code of the current tab.
cur_tab_name
: State containing the current tab name.tab_map
: State containing the map of all tabs.line
: Line number at which to set the breakpoint.
Returns Optional
indicating whether the breakpoint was successfully
set.