0xMiden / 0xMiden/miden-debug

feat(tui): enable filtering of output in the `DebugPane`

Offen
#60 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @mooori Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Rust
Sterne
1
Forks
8
Ø Merge
2 T. 13 Std.
Gemergte PRs (30 T.)
16

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
devtools
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.