Expand description
CuDebug: lightweight time-travel debugger helpers on top of Copper logs.
Design goals:
- Do not load entire copperlists into memory (logs can be huge).
- Build a compact section index in one streaming pass (copperlists + keyframes).
- Keep keyframes in memory (much smaller) and lazily page copperlist sections with a tiny LRU cache for snappy stepping.
- Reuse the public
CuSimApplicationAPI and user-provided sim callbacks.
Structsยง
- CuDebug
Session - Jump
Outcome - Result of a jump/step, useful for benchmarking cache effectiveness.
- Section
Cache Stats - Section-cache statistics for a debug session.