microsoft / microsoft/vscode-java-debug
Mark function return value as readOnly
Open
@testforstephen is already working on this.
Since Apr 17, 2023.
ai-triaged
enhancement
variables
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
When stepping out of a function the return value is helpfully displayed like a variable: ->equals(): false
But when trying to edit it (for lack of #1320) I'm getting

Environment
- Operating System: Win11
- JDK version: GraalVM 22.3 JDK17
- Visual Studio Code version: 1.77.2
- Java extension version: v1.16.0
- Java Debugger extension version: v0.49.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.