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

Method debug_register_component

crates/wasmtime/src/runtime/store.rs:1264–1272  ·  view source on GitHub ↗
(
        &mut self,
        component: &crate::component::Component,
    )

Source from the content-addressed store, hash-verified

1262 /// the component.
1263 #[cfg(all(feature = "debug", feature = "component-model"))]
1264 pub fn debug_register_component(
1265 &mut self,
1266 component: &crate::component::Component,
1267 ) -> crate::Result<()> {
1268 for module in component.static_modules() {
1269 self.debug_register_module(module)?;
1270 }
1271 Ok(())
1272 }
1273}
1274
1275impl<'a, T> StoreContext<'a, T> {

Callers 2

serve_under_debuggerMethod · 0.80
executeMethod · 0.80

Calls 3

OkFunction · 0.85
static_modulesMethod · 0.80
debug_register_moduleMethod · 0.80

Tested by

no test coverage detected