You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After upgrade from v0.77.0 to v0.78.0 can't debug tests #1915
After upgrade from v0.77.0 to v0.78.0 can't debug tests, only execute them
Environment
Operating System: Linux
JDK version: 11
Visual Studio Code version: 1.55.2
Java extension version: 0.78.0
Steps To Reproduce
Open a maven project with JUnit tests
Try run the test in debug mode
Current Result
An error message appears and the test can't be run
Expected Result
Test is run stopping at any break point
Additional Informations
I I downgrade to version 0.77.0 everything works as expected.
The error message in the log is: java.lang.NoSuchMethodError: 'void org.eclipse.jdi.internal.connect.ConnectorImpl$StringArgumentImpl.<init>(org.eclipse.jdi.internal.connect.ConnectorImpl, java.lang.String, java.lang.String, java.lang.String, boolean)'
Similar issue here. Can't debug anything though. Additionally, the "java.format.settings.url" setting is no longer being respected on 0.78.0. Downgrading fixed it. I suspect these are related.
Hi, I just released a hotfix release 0.33.1 for "Debugger for Java" extension. It will work with both vscode-java@0.77.0 and 0.78.0. Please have a try. thanks.
Activity
victor-k-lee commentedon Apr 29, 2021
Got the same issue, thank you for the workaround.
ruhrieGD commentedon Apr 29, 2021
Similar issue here. Can't debug anything though. Additionally, the "java.format.settings.url" setting is no longer being respected on 0.78.0. Downgrading fixed it. I suspect these are related.
rothfels commentedon Apr 29, 2021
Yep, same issue for our team. No issues on v0.77.0.
fbricon commentedon Apr 29, 2021
This is a downstream issue, vscode-java-debug needs to be recompiled. See microsoft/vscode-java-debug#995
snjeza commentedon Apr 30, 2021
@ruhrieGD Could you show your "java.format.settings.url" property?
snjeza commentedon Apr 30, 2021
You may want to take a look at microsoft/vscode-java-debug#995 (comment)
testforstephen commentedon Apr 30, 2021
Hi, I just released a hotfix release 0.33.1 for "Debugger for Java" extension. It will work with both vscode-java@0.77.0 and 0.78.0. Please have a try. thanks.