Module snapshot

Module snapshot 

Source
Expand description

Unified snapshot management for time travel debugging

This module provides a unified interface for managing both opcode-level and hook-based snapshots. It merges the two different snapshot types into a coherent structure that maintains execution order and frame relationships for effective debugging.

The main structure Snapshots combines:

  • Opcode snapshots: Fine-grained instruction-level state captures
  • Hook snapshots: Strategic breakpoint-based state captures

The merging process prioritizes hook snapshots when available, falling back to opcode snapshots for frames without hooks. This provides a comprehensive view of execution state across the entire transaction.

Structs§

Snapshot
Union type representing either an opcode or hook snapshot
Snapshots
Unified collection of execution snapshots organized by execution frame

Enums§

SnapshotDetail
Union type representing details of either an opcode or hook snapshot

Traits§

SnapshotAnalysis
Trait for analyzing snapshots to enable debugging navigation.