question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After upgrade from v0.77.0 to v0.78.0 can't debug tests

See original GitHub issue

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
  1. Open a maven project with JUnit tests
  2. 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)'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
testforstephencommented, 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.

1reaction
victor-k-leecommented, Apr 29, 2021

Got the same issue, thank you for the workaround.

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to debug tests on visual studio 2022
Unable to debug dotnet core 3.1 test project in visual studio 2022, but I can able to debug dotnet framework 4.8 project which...
Read more >
Ask Question
The question you've encountered is already put in github, please view After upgrade from vscode-java v0.77.0 to v0.78.0 can't debug tests.
Read more >
Flux release notes | Flux 0.x Documentation
Update the toUInt() test to use the correct conversion behavior. Prevent the Flux formatter from losing precision on float values. v0.185.0 [2022-10-03].
Read more >
Release Notes — lf-releng-global-jjb v0.83.1.dev1 ...
Modeled after the generic gerrit/github-sonar templates. The new templates eliminate the need for mvn-settings in the job configuration and the need for a...
Read more >
WebDriver for Chrome - Downloads
If you are using Chrome from Dev or Canary channel, please following instructions on the ChromeDriver Canary page. For more information on selecting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found