How to set a breakpoint in Eclipse in a third party library?

前端 未结 6 1693
无人及你
无人及你 2020-12-01 00:08

I\'m getting a NullPointerException in a Class from a 3rd party library. Now I\'d like to debug the whole thing and I would need to know from which object the class is held.

6条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 00:44

    You can easily set method breakpoints in 3rd party libraries without having the source. Just open the class (you'll get the "i-have-no-source" view). Open the outline, right-click on the method you want and click on Toggle Method Breakpoint to create the method breakpoint.

提交回复
热议问题