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

Method debug_all_modules

crates/wasmtime/src/runtime/debug.rs:69–71  ·  view source on GitHub ↗

Get a vector of all Modules held in the Store, for debug purposes. Guest debugging must be enabled for this accessor to return any modules. If it is not, an empty vector is returned.

(&mut self)

Source from the content-addressed store, hash-verified

67 /// Guest debugging must be enabled for this accessor to return
68 /// any modules. If it is not, an empty vector is returned.
69 pub fn debug_all_modules(&mut self) -> Vec<Module> {
70 self.as_store_opaque().debug_all_modules()
71 }
72}
73
74impl<'a, T> StoreContextMut<'a, T> {

Callers 4

component_bytecodeFunction · 0.80
all_modulesMethod · 0.80

Calls 6

as_store_opaqueMethod · 0.80
collectMethod · 0.80
tunablesMethod · 0.45
engineMethod · 0.45
all_modulesMethod · 0.45
modulesMethod · 0.45

Tested by

no test coverage detected