Skip to content

[bug] workspace storage is breaking vscode-java-debug #720

Closed
@clankill3r

Description

@clankill3r

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!

Screen Shot 2019-11-22 at 16 06 36

[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

Additional Informations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions