Full snapshots including per-line state - only call when the cache view renders.
(
&self,
)
| 283 | mut step: impl FnMut() -> Result<StepOutcome, VmError>, |
| 284 | ) -> (u64, RunOutcome) { |
| 285 | for steps in 1..=max_steps { |
| 286 | match step() { |
| 287 | Ok(StepOutcome::Continue) => {} |
| 288 | Ok(StepOutcome::Halted(code)) => return (steps, RunOutcome::Halted(code)), |
| 289 | Err(error) => return (steps, RunOutcome::Fault(error)), |
| 290 | } |
| 291 | } |
| 292 | (max_steps, RunOutcome::TimedOut) |
| 293 | } |
| 294 | |
| 295 | // --- Peripheral / debug accessors --- |
| 296 |
nothing calls this directly
no outgoing calls
no test coverage detected