when I press F3 and proceed to the definition of the method, eclipse goes into the jar of dependency. ----- first question: where did he get the source file? I do not see banks containing actual source files, decompiled? ---- I set a breakpoint and run debug.
but the debugging process never seems to land on the correct breakpoint, and the set breakpoint is rarely executed. it turns out that the source code is not shown correctly, so the breakpoint is also set in the wrong places.
Here is what I see from the eclipse window:
public <T> T execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) throws RestClientException { return doExecute(url, method, requestCallback, responseExtractor); }`
the comment before each line seems to show the correct line number, but they do not match their true line number shown to the left of the eclipse window window. that is, the above code segment occupies lines 315-319 in the window, not 415.
so how can i capture the correct sources and display them in the debugging process? Do I need to manually grab all the cans? is there any way to specify pom in my file?
thanks yang
debugging eclipse
teddy teddy
source share