Trepan-Debuggers / Trepan-Debuggers/remake

"next" (step over) and "finish" (step out) and "continue) should not cause recursive make to stop

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

Nobody has claimed this yet.

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

Description

The debugger command, "step" should cause a recursive invocation of make to stop in the recursion. The debugger commands "next", "finish" and "continue" should not.

Gist https://gist.github.com/rocky/2bf8ee0000a1efd53929
has a sample Makefile that can be used to test this. Files that would probably change are step.h, next.h, continue.h, and finish.h in folder debugger/command/, Possibly the routine that sets up the GNUMAKEFLAGS environment variable could be common.

What I think is needed is to change "step", "next", "continue", "finish" to set GNUMAKEFLAGS to include "X" as appropriate.

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 with the sample Makefile in the linked gist and inspect debugger/command/step.h, next.h, continue.h, and finish.h. Trace the routine that sets up GNUMAKEFLAGS and compare recursive behavior for the four commands. Done means step stops in recursive make while next, finish, and continue do not.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.