java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

Fix breakpoints in classes with inner/anonymous classes

Open nya3jp opened this issue 1 year ago • 0 comments

Existing breakpoint installation logic assumes that there is one-to-one correspondence between a class and a Java source file. But it does not hold for classes with inner classes and/or anonymous classes.

This patch fixes the logic to handle the case. Also adds a regression test.

nya3jp avatar Mar 19 '25 16:03 nya3jp