Breakpoints in JRE System Library in Eclipse

后端 未结 3 1949
被撕碎了的回忆
被撕碎了的回忆 2021-01-19 01:18

I tried to make breakpoint in the class from JRE System Library, but when I started debug I recieved message: \"Unable to install breakpoint at ... due to missing line numbe

3条回答
  •  一向
    一向 (楼主)
    2021-01-19 01:52

    So, the most simple way - to use JDK instead of JRE. In this case we can use breakpoints in system library. BUT we cant monitor values of local variables. For this purpose we should recompile rt.jar (without sun.* packets, because they are proprietary). Process of recompilation described there. It's in russian, but at the and of article situated the link to the result rt-dbg.jar.

提交回复
热议问题