Lines Matching refs:api
4 mod api; module
9 api::{WasmType, WasmValue},
41 api::export!(Component with_types_in api);
43 impl api::exports::bytecodealliance::wasmtime::debugger::Guest for Component {
44 fn debug(d: &api::Debuggee, args: Vec<String>) { in debug()
71 debuggee: &'a api::Debuggee,
74 running: Option<api::Resumption>,
79 frame_cache: Vec<api::Frame>,
94 api::print_debugger_info(&format!( in run()
98 api::print_debugger_info(&format!( in run()
181 fn start_continue(&mut self, resumption: api::ResumptionValue) { in start_continue()
185 self.running = Some(api::Resumption::continue_(self.debuggee, resumption)); in start_continue()
188 fn start_single_step(&mut self, resumption: api::ResumptionValue) { in start_single_step()
192 self.running = Some(api::Resumption::single_step(self.debuggee, resumption)); in start_single_step()
217 event: api::Event, in handle_event()
221 api::Event::Complete => { in handle_event()
234 api::Event::Breakpoint => { in handle_event()
255 api::Event::Trap => { in handle_event()
290 self.start_single_step(api::ResumptionValue::Normal); in handle_event()
292 self.start_continue(api::ResumptionValue::Normal); in handle_event()