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

Debugging jumping directly into error in Class.class #1520

Closed
tnguyen2601 opened this issue Oct 30, 2024 · 1 comment
Closed

Debugging jumping directly into error in Class.class #1520

tnguyen2601 opened this issue Oct 30, 2024 · 1 comment

Comments

@tnguyen2601
Copy link

Upon launching debug either per launch.json or Spring Boot Dashboard, VSCode jumps to Class.class here.
Image

I don't event get to the Spring Boot Output in the Terminal which would normally happen. The terminal only shows the command that VSCode executes to launch Java. This "C:program Java jdk-21 jav.exe -gentlib.... .argfile ...." then it stops there and jumps to the error.
Image

Once continued I get java.lang.IllegalArgumentException in getKeyStore of Class.class
Image

And it would take me for ever to screenshot and mention every following Exception which happens afterwards.
Everything worked perfectly fine before that. It happened from one debug session to another. I tested with a freshly generated maven-quickstart project and debug there worked perfectly fine.

What worked:

  • Running and debugging in IntelliJ
  • My Coworker tried it in their VSCode and it worked for them

What I tried:

  • Restart Laptop
  • Reinstall VSCode
  • Cleaned Cache
  • Tried older Version of VSCode Debugger for Java

Infos:

  • My launch.json
    • { "name": "Launch App", "type": "java", "request": "launch", "envFile": "${workspaceFolder}/.env", "mainClass": "com.agb.app.MyApp", "projectName": "MyApp" },
  • Debugger Version: v0.58.0
  • VSCode Version: 1.95.0 (user setup)
@testforstephen
Copy link
Contributor

Image

This pause is from Exception Breakpoint. Please toggle off "Caught/Uncaught Exceptions" in the BREAKPOINTS view.

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

2 participants