feat(tui): enable filtering of output in the `DebugPane`
- Lingua principale
- Rust
- Stelle
- 1
- Fork
- 8
- Merge medio
- 2g 13h
- PR unite (30g)
- 16
Descrizione
The DebugPane currently displays both:
- internal debugger logs (e.g. state transitions), and
- program logs emitted via `TRACE_PRINT_LN`
Developers who use the debugger as a tool probably only want to see the `TRACE_PRINT_LN` related logs. Add filtering as [described in this comment](https://github.com/0xMiden/miden-debug/pull/54#discussion_r3126880909):
> have the default display of the debug window already be filtering for the `stdout` target, and provide keys to toggle the filtering
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look at the DebugPane code to understand how logs are currently displayed. The linked comment describes filtering by the 'stdout' target. Identify where logs are collected and rendered, then add a filter to show only TRACE_PRINT_LN logs by default and implement key bindings to toggle this filter. Check for existing key handling in the TUI to integrate the toggle.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 65/100