I have a jar file that supplies some classes in my development environment. When I'm debugging in Eclipse, when I first step into a class supplied by that jar, Eclipse prompts me to give the location of the associated source files. I do so, and everything's fine.
Some time later, I replace the jar with a newer version. How can I instruct Eclipse to look in a different place for the newer source?
Open the . classpath file and delete the source attachment part. Or in the Build Path control panel, find the jar file and remove the source attachment (it is one of the detailed options there). m2e automatically adds the attached source even after you remove it.
Right click on the Debugger panel, select Edit Source Lookup
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With