microsoft / microsoft/vscode-cpptools

Don't allow editing a variable in debug view if it's not editable

Open
#14,000 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

debugger Feature Request help wanted
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Feature Request

The Debug View's Variables view allows double-clicking to open an editable field to edit the variable. But it allows it even when the variable is not editable. If you try to submit an assignment to such a variable, you get "-var-assign: Variable object is not editable". Maybe this is queryable with -var-show-attributes?

Contributor guide

Open the contributing guide

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 in the Debug View's Variables view and trace how double-clicking opens the variable editor. Check whether GDB's -var-show-attributes response exposes editability, then verify that non-editable variables cannot be edited while editable variables retain the current behavior. The payload names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.