Skip to content

Breakpoint not working with spybean annotation #1644

@raulvaldoleirospowerdot

Description

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

Issue also created here: microsoft/vscode-java-debug#1423

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions