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

前端 未结 6 1705
无人及你
无人及你 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:18

    Just attach the source (or use something that automatically attaches the source jar) and then set a breakpoint in the normal way, by double-clicking to the left of the line of interest.

提交回复
热议问题