Dear sir or madam,
I faced a problem in Eclipse and was urgently looking for help:
I have some code in a jar file, and I need to trace into it. I managed
to decompile the jar file, remove the needed classes from the jar file
and re-jar it.
I included the new jar file in my project and the classes I needed as
sources are included in the src folder. When I start debugging,
everything goes fine until I trace into a method located in one of the
classes I have decompiled and excluded from the jar file.
The following happens: The cursor stands in a wrong position, i.e. not
on the method I have just traced into. I found out (using watches and
some heuristics) that the debugging process goes correctly, but the
only problem is that the cursor stands on the wrong line.
As a temporary solution, I added some lines (comments) in order to
shift eveything down and it worked. But after a while my method called
another one located above it. And again the cursor stood wrong. Now I
cannot change anything because my changes are relative to the first
method.
Besides, this solution is rather stupied.
I would appreciate your help. Here's my e-mail address:
Samar.Hossam@web.de
Regards, Samar
P.Hill - 22 Sep 2004 20:53 GMT
> The following happens: The cursor stands in a wrong position, i.e. not
> on the method I have just traced into.
I would guess that the classpath for the project contains the original
class somwhere BEFORE the one you are recompiling.
make sure your output folder is in the list in the right location.
-Paul