Trepan-Debuggers / Trepan-Debuggers/remake

Debugger: "data breakpoints": break when the command executed matches a certain regex

Open
#107 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
850
Forks
80
PR merge metrics
No merged PRs in 30d

Description

I have a huge set of makefiles.
I need to find what creates a certain directory.
I would like to set a breakpoint that triggers:

  • when a command that matches .+mkdir.+problem_directory$ is executed.

The current breakpoints are useful when you know what file and line you want to stop at, but they cannot stop when a certain file is accessed.

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

No files, tests, or entry points are named. Start by tracing the existing breakpoint handling and command-execution path, then determine how regex matching should integrate with them. Done means a breakpoint can stop when an executed command matches the requested pattern, with tests covering the matching behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.