microsoft / vscode-java-test

Run and debug Java test cases in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test
Other
292 stars 125 forks source link

Breakpoint not working with spybean annotation #1644

Closed raulvaldoleirospowerdot closed 8 months ago

raulvaldoleirospowerdot commented 8 months ago

It looks like when using the spybean annotation from junit jupyter the breakpoints don't work. When I remove the annotation the breakpoint start working.

Environment
Steps To Reproduce
  1. Open attached project in vscode (with java extension pack)
  2. Add breakpoint to lala method of b/src/main/java/test/b/BasicService.java
  3. Run the test method of junit class a/src/test/java/test/a/SimpleTest.java testmultimoduledebug.zip
Current Result

The test don't stop on the breakpoint

Expected Result

The test stop on the breakpoint

Issue also created here: https://github.com/microsoft/vscode-java-debug/issues/1423

jdneo commented 8 months ago

Let's track it by https://github.com/microsoft/vscode-java-debug/issues/1423