microsoft / microsoft/vscode-java-debug
When debug in second time, there is no code prompt in debug console
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
Good day all,
When I use vscode to debug java code, I found that when I debug my code more than one time, there is no code prompt in DEBUG CONSOLE.
My Environment:
Windows: Windows 11 Professional 24H2
VSCode: 1.97.2
Debugger for Java: v0.58.1
Java: Java 17
Reproduce Steps:
- Open code in VSCode;
- Waiting Java compile, and add break point;
- First time run code in debug mode;
- Open DEBUG CONSOLE, the code prompt function going well.
- Stop debug;
- Rerun code in debug mode and open DEBUG CONSOLE, there is no code prompt;
Continually, the code prompt function keeps unavailable even if:
- Close and re-open vscode;
- Clean Work Space
- Re-compile the project
- etc.
Unless, code prompt in DEBUG COLSE works again when:
- Close VSCode;
- Delete target folder in the directory;
- Reopen the project and first time debug the code;
The minimalist code is attached (Just a simple Springboot Application). Could anyone check if it is a bug or environment specific?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 VS Code 中从附加的 demo.zip 开始,并使用列出的 Windows、Java 和扩展版本重现文档所述的 first-debug 和 second-debug 流程。比较各会话之间 DEBUG CONSOLE 的补全行为,并检查删除 target 是否会改变结果。停止并重新运行调试会话后,代码提示仍然可用即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, vscode
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100