Trepan-Debuggers / Trepan-Debuggers/remake

`pipe` command for post-processing output

Open
#121 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

volunteer wanted if feature is to be added
Dominant language
C
Stars
850
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Information from remake's debugger REPL can be rather verbose sometimes; it could be nice to have some post-processing capability, such as running grep on output. The shell command exists, but it seems kind of useless in isolation?

https://stackoverflow.com/questions/15960180/how-to-grep-on-gdb-print lists some examples on how this is handled in GDB; and it seems relatively recent GDB has a pipe command.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the debugger REPL command handling and the existing shell command. Review the linked GDB pipe examples to clarify the intended syntax and behavior. The work is done when REPL output can be passed through a post-processing command such as grep.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.