microsoft / microsoft/vscode-java-debug

While debugging, inline values don't appear in methods which have a comment above their definition

Open
#1,537 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

While debugging any Java code, with "Debug: Inline Values" set to "Auto" or even to "On", the inline cues with the values of variables won't appear in any methods which have a comment above their definition.
The problem can be reproduced by debugging the attached program with a breakpoint for example in line 15.
Two pictures illustrating the problem are also supplied.

Image
Image

DebugInline.zip

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 with the attached DebugInline.zip program and reproduce the issue by debugging with "Debug: Inline Values" set to Auto or On and a breakpoint around line 15. Compare methods with and without a comment above their definition; done means inline variable values appear in the commented methods as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.