Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Eclipse's "associated source" for debugging?

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?

like image 865
kc2001 Avatar asked Feb 23 '11 21:02

kc2001


People also ask

How to remove attached source in Eclipse?

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.


1 Answers

Right click on the Debugger panel, select Edit Source Lookup

Right click on the Debugger panel, select Edit Source Lookup

like image 174
Graham P Heath Avatar answered Sep 21 '22 03:09

Graham P Heath