Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When debug in second time, there is no code prompt in debug console #1536

Open
zachary-wang12 opened this issue Feb 23, 2025 · 0 comments
Open

Comments

@zachary-wang12
Copy link

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:

  1. Open code in VSCode;
  2. Waiting Java compile, and add break point;
  3. First time run code in debug mode;
  4. Open DEBUG CONSOLE, the code prompt function going well.
    Image
  5. Stop debug;
  6. Rerun code in debug mode and open DEBUG CONSOLE, there is no code prompt;
    Image

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:

  1. Close VSCode;
  2. Delete target folder in the directory;
  3. 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?

demo.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant