MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / register_breakpoint

Function register_breakpoint

debugger/src/debugger.rs:1174–1178  ·  view source on GitHub ↗
(breakpoint_addresses: &mut FxHashMap<u64, BpId>, sb_bp: &SBBreakpoint)

Source from the content-addressed store, hash-verified

1172}
1173
1174fn register_breakpoint(breakpoint_addresses: &mut FxHashMap<u64, BpId>, sb_bp: &SBBreakpoint) {
1175 for sb_bp_loc in sb_bp.locations() {
1176 breakpoint_addresses.insert(sb_bp_loc.address().file_address() as u64, BpId(sb_bp.id()));
1177 }
1178}
1179
1180fn get_rust_panic_source_file() -> SourceFile {
1181 SourceFile {

Callers 1

runFunction · 0.85

Calls 6

BpIdClass · 0.85
locationsMethod · 0.80
insertMethod · 0.80
file_addressMethod · 0.45
addressMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected