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

Method function_return

debugger/src/event.rs:132–144  ·  view source on GitHub ↗
(
        bp_id: crate::BpId,
        thread_id: u64,
        active_frame: &ActiveFrame,
    )

Source from the content-addressed store, hash-verified

130 }
131
132 pub fn function_return(
133 bp_id: crate::BpId,
134 thread_id: u64,
135 active_frame: &ActiveFrame,
136 ) -> Bytes {
137 let mut bytes = Bytes::new();
138 bytes.push_byte(b'R');
139 bytes.integer(bp_id.0);
140 bytes.integer(thread_id);
141 bytes.integer(active_frame.frame_id);
142 bytes.identifier(&active_frame.function_name);
143 bytes
144 }
145}

Callers

nothing calls this directly

Calls 3

push_byteMethod · 0.80
integerMethod · 0.80
identifierMethod · 0.80

Tested by

no test coverage detected