microsoft / microsoft/vscode-java-debug
Run action hangs at "Resolving main class..." with no further response
未关闭
还没有人认领这个 Issue。
ai-triaged
bug
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
When I click the Run button, a "Resolving main class..." popup appears but nothing happens afterward. Clicking Run again does not trigger the popup, and the IDE becomes completely unresponsive. The only workaround is to reload the window.
Crucial Clue:
This issue only occurs when the project uses JDK 1.8. When I switch the project which use JDK 21, the run action works perfectly.
VS Code version:1.130.0
OS: Windows/WSL2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 Windows/WSL2 上使用 JDK 1.8 的 VS Code Java 项目中复现 Run 按钮卡住的问题,然后将其与使用 JDK 21 执行相同操作的情况进行比较。从“Resolving main class...”步骤开始,并确认 Run 能够完成,而不会导致 IDE 冻结或需要重新加载窗口。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100