vscode-java-debug icon indicating copy to clipboard operation
vscode-java-debug copied to clipboard

Breakpoint not working with spybean annotation

Open raulvaldoleirospowerdot opened this issue 1 year ago • 2 comments

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
  • Operating System: Mac
  • JDK version: 21
  • Visual Studio Code version: 1.85.1
  • Java extension version: v0.25.15 (extension pack)
  • Java Debugger extension version: v0.55.0
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

raulvaldoleirospowerdot avatar Dec 29 '23 12:12 raulvaldoleirospowerdot

Seeing similar issue here too

LucioC avatar Jan 02 '24 18:01 LucioC