Description
I reported this before, but I had issues isolating it. Now I made a small project to reproduce the problem.
The issue:
The project is working fine. When I close and open vscode then I can't run the debugger anymore.
I get:
Build failed, do you want to continue?
Source: Debugger for Java (Extension)
If I remove the workspace storage then the problem is gone.
Environment
- Operating System: OSX 10.12.6 / Ubuntu 18.04lts
- JDK version: 1.8.0_202
- Visual Studio Code version: 1.40.1
- Java extension version: ?
- Java Debugger extension version: 0.23.0
--Red Hat extension: 0.53.1
Steps To Reproduce
[1]
Download:
https://github.com/clankill3r/vscode-java-debug_broken_example
Have it at the root of the HD so it starts with /java
!
[2]
Open the folder /java/projects/ws_root
, when you get the message prompt about the workspace folder containing a workspace then click open workspace
.
[3]
Open the file nasa/src/doeke_nasa/Nasa.java
, and press F5
to run it.
The first time it should print "here" in the debug console.
[4]
Close VSCode, start VSCode again and try to run the same file again. Now you will get an:
Build failed, do you want to continue?
Source: Debugger for Java (Extension)
[5]
Close VSCode,
Remove the workspace storage,
Start VSCode again, and run again, now it should work again.
Current Result
Build failed message
Expected Result
Have everything working fine