Description
[provide a description of the issue]
Environment
- Operating System: MacOS 12.6
- JDK version: 1.8
- Visual Studio Code version: 1.73.1
- Java extension version: Language support for Java ™ for Visual Studio Code v1.13.0
- Java Debugger extension version: 0.47.0
Steps To Reproduce
- 2 same java file in different module (dependency1 dependency2)
- app module depend on dependency2
[attach a sample project reproducing the error]
expamle project
Current Result
locate wrong java show dependency1 code
Expected Result
locate correct java show dependency2 code
Additional Informations
log:
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v2.3.5.RELEASE)
2022-12-05 16:03:31.081 INFO 87876 --- [ main] com.init.object.App : Starting App on wangkundeMac-Pro.local with PID 87876 (/Users/wangkun/Documents/github/java-debug-test/app/target/classes started by wangkun in /Users/wangkun/Documents/github/java-debug-test)
2022-12-05 16:03:31.087 INFO 87876 --- [ main] com.init.object.App : No active profile set, falling back to default profiles: default
2022-12-05 16:03:32.077 INFO 87876 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8088 (http)
2022-12-05 16:03:32.088 INFO 87876 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-12-05 16:03:32.089 INFO 87876 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.39]
2022-12-05 16:03:32.166 INFO 87876 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2022-12-05 16:03:32.167 INFO 87876 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1002 ms
2022-12-05 16:03:32.390 INFO 87876 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2022-12-05 16:03:32.584 INFO 87876 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8088 (http) with context path ''
2022-12-05 16:03:32.602 INFO 87876 --- [ main] com.init.object.App : Started App in 2.018 seconds (JVM running for 2.713)
2022-12-05 16:03:47.200 INFO 87876 --- [nio-8088-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-12-05 16:03:47.200 INFO 87876 --- [nio-8088-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2022-12-05 16:03:47.207 INFO 87876 --- [nio-8088-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 7 ms
test2