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

Method frame_instance

crates/debugger/src/host/opaque.rs:491–498  ·  view source on GitHub ↗
(&mut self, frame: FrameHandle)

Source from the content-addressed store, hash-verified

489 }
490
491 async fn frame_instance(&mut self, frame: FrameHandle) -> Result<Instance> {
492 self.with_store(move |mut store| -> Result<Instance> {
493 Ok(frame
494 .instance(&mut store)
495 .map_err(|_| wit::Error::InvalidFrame)?)
496 })
497 .await?
498 }
499
500 async fn frame_func_and_pc(&mut self, frame: FrameHandle) -> Result<(u32, u32)> {
501 self.with_store(move |mut store| -> Result<(u32, u32)> {

Callers 1

get_instanceMethod · 0.80

Calls 3

OkFunction · 0.85
with_storeMethod · 0.80
instanceMethod · 0.45

Tested by

no test coverage detected