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

Method add_breakpoint

crates/debugger/src/host/api.rs:404–413  ·  view source on GitHub ↗
(
        &mut self,
        self_: Resource<Module>,
        d: Resource<Debuggee>,
        pc: u32,
    )

Source from the content-addressed store, hash-verified

402
403impl wit::HostModule for ResourceTable {
404 async fn add_breakpoint(
405 &mut self,
406 self_: Resource<Module>,
407 d: Resource<Debuggee>,
408 pc: u32,
409 ) -> Result<()> {
410 let module = self.get(&self_)?.clone();
411 let d = debugger(self, &d)?;
412 d.module_add_breakpoint(module, pc).await
413 }
414
415 async fn remove_breakpoint(
416 &mut self,

Callers 1

module_add_breakpointMethod · 0.45

Calls 4

debuggerFunction · 0.85
module_add_breakpointMethod · 0.80
cloneMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected