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

[bug] Trying to Run a program but getting error when code has none!! #1048

Closed
5OBHAN opened this issue Aug 7, 2022 · 1 comment
Closed

Comments

@5OBHAN
Copy link

5OBHAN commented Aug 7, 2022

Environment:

  • VS Code Version: 1.70.0
  • Extension Version: 0.25.0
  • JDK Type & Version: Oracle JDK Version 8 Update 321 (build 1.8.0_321-b07)
  • OS Type & Version: Windows

Step to Reproduce:

  • Make 2 separate .java files. One with some kind of error within the code and the other without any error.
  • Open both files in the same workspace.
  • Run the program that has no errors inside its code. (either using the shortcut F5 or by clicking on the Run that appears inside the code)

Expected Behavior:

  • Code will run as normal when it has no errors inside, or only show the errors related to that program if it has any.

Actual Behavior:

  • You'll get errors from the other program inside PROBLEMS tab & VS Code will show a prompt with some options at the bottom saying "Build failed, do you want to continue?". Now, if you click on Proceed, the code will run normally.

Screenshot 2022-08-08 042339

Related Issues:

  • Nothing yet.
@5OBHAN 5OBHAN changed the title Trying to Run a program but getting error when code has none!! [bug] Trying to Run a program but getting error when code has none!! Aug 7, 2022
@5OBHAN 5OBHAN closed this as completed Sep 2, 2023
@5OBHAN
Copy link
Author

5OBHAN commented Sep 2, 2023

The error is showing as a project, now I know.

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