I'm using quite a big ear project with about 20 subprojects.
When debugging the application and a breakpoint is being hit it takes about 1 minute until the editor highlights the current line of code. This happens only the first time a breakpoint is hit. After that the debugger behaves normally.
Reason seems to that all referenced libraries are included in the source lookup path which is quite a huge number (about 300 libs).
As a workaround I remove the "Default" entry from the source lookup path and than manually add all 20 subprojects. Doing this, the editor is highlighted immediately on a breakpoint.
Problem is that source lookup path gets overwritten with the "Default" entry each time I publish the application.
Is there any way to prevent source lookup path is being overwritten on publish?
See also: https://stackoverflow.com/questions/69105652/eclipse-debugging-on-breakpoint-jumps-to-code-after-minutes/69113798