0xMiden / 0xMiden/miden-debug

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

Open
#60 0 comments 0 reactions 1 assignee Claimed by @mooori View on GitHub
enhancement
Dominant language
Rust
Stars
1
Forks
8
Avg merge
2d 13h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.