文章来源: https://studyidea.cn/ideabreakpointnot_use
前言
某个多模块项目中使用多个版本的 Spring,如 Spring 4,Spring 5,在使用 IDEA Debug 过程中发现,Spring 部分 jar 如 spring-core 中的上面断点,IDEA 可以成功进入。但是有部分如 spring-context IDEA 始终无法进入断点。
当 IDEA 进入 spring-core 断点时,打开 spring-context 任意源码,可以发现 IDEA 提示 source code does not match bytecode。
看到这个提示,