0xMiden / 0xMiden/miden-debug

Expose CallTrace from snapshots

Aperta
#125 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
1
Fork
8
Merge medio
2g 13h
PR unite (30g)
16

Descrizione

Add a CallTrace structure that stores information about each frame (arguments, result, child frames), and expose a function we’ll call from the Miden CLI call with the `--trace` option to build the trace from the recorded snapshot. The client is then only responsible for rendering the call tree and controlling how much of the call tree is shown via the --verbose option.

cc @djolertrk @bitwalker

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Look for the snapshot recording logic and the Miden CLI's call command. Define a CallTrace struct to capture frame data (arguments, result, children). Add a function to build the trace from snapshots, invoked when the `--trace` flag is used. The CLI will then pass this trace for rendering based on `--verbose`.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
cli, devtools
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.