microsoft / microsoft/vscode-java-debug
Run action hangs at "Resolving main class..." with no further response
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
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
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.
Research direction
Reproduce the Run-button hang in a VS Code Java project using JDK 1.8 on Windows/WSL2, then compare it with the same action under JDK 21. Start at the “Resolving main class...” step and verify that Run completes without freezing the IDE or requiring a window reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100