MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / get

Method get

crates/wasmtime/src/runtime/debug.rs:977–983  ·  view source on GitHub ↗
(&self, registry: &ModuleRegistry)

Source from the content-addressed store, hash-verified

975 }
976
977 fn get(&self, registry: &ModuleRegistry) -> Breakpoint {
978 let module = registry
979 .module_by_compiled_id(self.0)
980 .expect("Module should not have been removed from Store")
981 .clone();
982 Breakpoint { module, pc: self.1 }
983 }
984}
985
986/// A breakpoint-editing session.

Callers 1

breakpointsMethod · 0.45

Calls 3

module_by_compiled_idMethod · 0.80
cloneMethod · 0.45
expectMethod · 0.45

Tested by

no test coverage detected