0xMiden / 0xMiden/miden-debug

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

Ouverte
#60 0 commentaires 0 réactions 1 personne assignée Réclamée par @mooori Voir sur GitHub
enhancement
Langage dominant
Rust
Étoiles
1
Forks
8
Merge moyen
2 j 13 h
PR mergées (30 j)
16

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust
Domaine
devtools
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.