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

Method interrupt

crates/debugger/src/host/api.rs:212–217  ·  view source on GitHub ↗
(&mut self, debuggee: Resource<Debuggee>)

Source from the content-addressed store, hash-verified

210 }
211
212 async fn interrupt(&mut self, debuggee: Resource<Debuggee>) -> Result<()> {
213 let d = self.get_mut(&debuggee)?;
214 d.interrupt_pending.store(true, Ordering::SeqCst);
215 d.engine.increment_epoch();
216 Ok(())
217 }
218
219 async fn single_step(
220 &mut self,

Callers 1

test_loopFunction · 0.80

Calls 4

OkFunction · 0.85
get_mutMethod · 0.45
storeMethod · 0.45
increment_epochMethod · 0.45

Tested by 1

test_loopFunction · 0.64