开发者

In eclipse, how can I see where the java classes are loaded from?

开发者 https://www.devze.com 2023-04-02 11:05 出处:网络
My problem is as follow : I am developing an eclipse plugin and sometimes I lose track of where the classes are loaded from. What I would like is to see in the debugger stacktrace where a class is loa

My problem is as follow : I am developing an eclipse plugin and sometimes I lose track of where the classes are loaded from. What I would like is to see in the debugger stacktrace where a class is loaded from (which jar on the harddrive).

Am I missin开发者_开发技巧g some obvious Eclipse option ?

Any help would be greatly appreciated !


To see location of classes loaded : In Run configurations -> Arguments tab add vm argument -verbose. That will include the full path of classes loaded.

EDIT: To find a particular class from a list of jars:

I use a jar class finder plugin. I do not recall the exact location from where i downloaded, the alphaworks link seems broken as of now. But you can find similar tools.

Note : In eclipse, if the console fills up to a point you are not able to see previous logs, then in Common tab -> Standard I/O check File option.

0

精彩评论

暂无评论...
验证码 换一张
取 消