Debugger fetches setting by passing a scope parameter and then discard it

Open Beginner friendly
#1,245 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
devtools

Research direction

Start at core/adapters/gdbmiadapter.cpp lines 866-877 and inspect the function that accepts the scope parameter. Trace every caller of that function to confirm whether the scope value is used or only forwarded and discarded; if it is genuinely unused, remove the parameter and update the call sites. Build the debugger and run the existing adapter tests or the closest integration test to confirm the GDB/MI path still behaves the same.

Written by the indexing model from the issue text.

Description

See https://github.com/Vector35/debugger/blob/7903102115212889363326871099336522965136/core/adapters/gdbmiadapter.cpp#L866-L877

I cant remember why I did that (it's a while ago), but if it actually does not do anything), we should definitely remove it

Dominant language
C++
Stars
342
Forks
34
Avg merge
7d 21h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from Vector35/debugger

All issues in Vector35/debugger

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.