In eclipse, how can I find out where the java classes are coming from?

My problem is this: I develop the eclipse plugin and sometimes lose information about where the classes are loaded from. I would like to see in the stacktrace debugger where the class is loaded (which is located on the hard drive).

Is there any obvious Eclipse option missing?

Any help would be greatly appreciated!

+6
source share
1 answer

To find the location of the loaded classes: In the launch settings β†’ Arguments tab add the vm -verbose argument. This will include the full path of the loaded classes.

EDIT: To find a specific class from the list of banners:

I am using the finder jar class finder plugin. I don’t remember the exact location where I downloaded, alphaworks link seems broken at the moment. But you can find similar tools.

Note. In eclipse, if the console is full to a certain point, you cannot see the previous logs, then in the tab "General" β†’ "Standard input-output" select "File".

+5
source

Source: https://habr.com/ru/post/896688/


All Articles