Skip to content
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

Debug protocol: Please add Variable::settable #151

Closed
weinand opened this issue Aug 19, 2016 · 1 comment
Closed

Debug protocol: Please add Variable::settable #151

weinand opened this issue Aug 19, 2016 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality

Comments

@weinand
Copy link
Contributor

weinand commented Aug 19, 2016

From @vadimcn on August 5, 2016 19:11

  • VSCode Version: 1.4
  • OS Version: All

When a debug adapter reports that is supports setVariable, all leaf variables become editable, but compound objects do not. While a reasonable heuristic, this is not optimal because:

  • primitive values may be not editable if they are "synthetic" i.e. generated by a visualizer.
  • compound objects may be editable, e.g. std::string (which may still want to show individual characters as children, and possibly provide a "raw" view of the implementation as a synthetic child).

I'd suggest adding an explicit "settable" flag into Variable.

Copied from original issue: microsoft/vscode#10217

@weinand weinand self-assigned this Aug 19, 2016
@weinand weinand transferred this issue from microsoft/vscode-debugadapter-node Nov 6, 2020
@weinand weinand added the feature-request Request for new features or functionality label Nov 9, 2020
@weinand
Copy link
Contributor Author

weinand commented Nov 2, 2022

Variables have a readOnly property.

@weinand weinand closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

1 participant