Java – can I add breakpoints to classes where I don’t have source code?

I want to add breakpoints to classes in eclipse, but I don't have its source code Is it possible to add breakpoints to it? In my case, I really just need to know when to call the method

(as a side note: does anyone have the source code of j2ee_api_1_3.jar?)

Solution

Download the JAD counter compiler through windows-> preferences, configure its path in eclipse, and open the source of classes that need to place breakpoints. Then debug can run properly, and you can see all variables information views in variables.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>