Return all breakpoints.
(self)
| 355 | impl<'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 { |