I have two projects A and B both are built differently, but the jars from project B are copied to project A before it builds.
Now I got to debug through project A and place a breakpoint in B’s source code and debug through code of B instead of its jar in buildpath .
Is there any way to do that?
I had tried to link B’s source folder to A, but when I place a breakpoint in B’s code the debugger goes to same location in its jar.
To do this you have to add project B as reference to the build path instead of the jar of project B.
But it also works to set a breakpoint in the code of the jar file. For doing this you just have to attach the sources to the code once.