Skip to content

Debug: CLI should return programmer inside Debug Info structure upon GRPC call from IDE #2387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
ubidefeo opened this issue Oct 25, 2023 · 0 comments · Fixed by #2391
Closed
3 tasks done
Assignees
Labels
type: enhancement Proposed improvement

Comments

@ubidefeo
Copy link

Describe the request

Right now the IDE requests Debug Information from CLI via a GRPC call.
One of the call's parameters is -P <Programmer_ID>.
The data returned contains a set of parameters but is missing the Programmer, since it is assumed that the consumer (IDE 2) knows about it.
We'd like this item to be returned as part of the Debug Info data, and relief the consumer from retaining such information as state.
This will allow switching Programmer without having to manage the state in the IDE.

The CLI should be responsible for returning all the data required in order to start a Debug Session

Describe the current behavior

The data returned does not contain the Programmer, since it is assumed that the consumer (IDE 2) knows about it.

Arduino CLI version

0.35.0-rc.1

Operating system

N/A

Operating system version

n/a

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details
@ubidefeo ubidefeo added the type: enhancement Proposed improvement label Oct 25, 2023
@cmaglie cmaglie linked a pull request Oct 25, 2023 that will close this issue
6 tasks
@cmaglie cmaglie added this to the Arduino CLI v0.35.0 milestone Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants