64kramsystem / 64kramsystem/ghidra-vice-connector

Trace recording / time-travel debugging

Abierto
#10 0 comentarios 0 reacciones 0 asignados Ver en GitHub
priority: low
Lenguaje dominante
Python
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.