microsoft / microsoft/vscode-java-debug
When debug in second time, there is no code prompt in debug console
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
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?
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
Start with the attached demo.zip in VS Code and reproduce the documented first-debug and second-debug sequence using the listed Windows, Java, and extension versions. Compare the DEBUG CONSOLE completion behavior between sessions and check whether deleting target changes the result. Done means code prompts remain available after stopping and rerunning the debug session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100