64kramsystem / 64kramsystem/ghidra-vice-connector

Trace recording / time-travel debugging

Đang mở
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: low
Ngôn ngữ chính
Python
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Description

Ghidra's trace model supports multiple snapshots, enabling time-travel debugging where users can scrub back through execution history. Currently the plugin overwrites the same snapshot on each stop.

## Proposed implementation

- Create a new snapshot on each stop event instead of overwriting (already using `trace.snapshot()`)
- Retain register and memory state per snapshot
- Let Ghidra's built-in timeline UI navigate between snapshots
- Add configurable limits (max snapshots, memory per snapshot) to avoid unbounded growth
- Optionally record memory diffs instead of full 64KB per snapshot

## Why this matters

Time-travel debugging is extremely powerful for understanding 6502 code behavior, especially for timing-sensitive code (raster effects, SID music, etc.) where you need to understand what happened N instructions ago.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.