(&mut self, module: Module, pc: u32)
| 564 | } |
| 565 | |
| 566 | async fn module_remove_breakpoint(&mut self, module: Module, pc: u32) -> Result<()> { |
| 567 | self.with_store(move |store| -> Result<()> { |
| 568 | store |
| 569 | .edit_breakpoints() |
| 570 | .expect("guest debugging is enabled") |
| 571 | .remove_breakpoint(&module, wasmtime::ModulePC::new(pc)) |
| 572 | .map_err(|_| wit::Error::InvalidPc)?; |
| 573 | Ok(()) |
| 574 | }) |
| 575 | .await? |
| 576 | } |
| 577 | |
| 578 | async fn finish(&mut self) -> Result<()> { |
| 579 | self.finish().await?; |
no test coverage detected