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

Method breakpoints

crates/wasmtime/src/runtime/debug.rs:357–364  ·  view source on GitHub ↗

Return all breakpoints.

(self)

Source from the content-addressed store, hash-verified

355impl<'a, T> StoreContext<'a, T> {
356 /// Return all breakpoints.
357 pub fn breakpoints(self) -> Option<impl Iterator<Item = Breakpoint> + 'a> {
358 if !self.engine().tunables().debug_guest {
359 return None;
360 }
361
362 let (breakpoints, registry) = self.0.breakpoints_and_registry();
363 Some(breakpoints.breakpoints(registry))
364 }
365
366 /// Indicate whether single-step mode is enabled.
367 pub fn is_single_step(&self) -> bool {

Callers 2

breakpoint_eventsFunction · 0.45

Calls 6

tunablesMethod · 0.45
engineMethod · 0.45
mapMethod · 0.45
keysMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected