microsoft / microsoft/vscode-java-debug

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

未关闭
#1,537 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

ai-triaged
主要语言
TypeScript
星标
591
派生
429
平均合并
1 天 9 小时
30 天内合并 PR
19

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从附加的 DebugInline.zip 程序开始,通过将 "Debug: Inline Values" 设置为 Auto 或 On,并在第 15 行附近设置断点进行调试,以重现该问题。比较定义上方有注释和没有注释的方法;当带注释的方法中也显示内联变量值时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。