Tracing code in Eclipse [message #65823] |
Wed, 22 September 2004 13:37 |
Eclipse User |
|
|
|
Originally posted by: Samar.Hossam.web.de
Dear sir or madam,
I face a very weird problem. 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.
If anyone knows a solution to my problem, I would appreciate his/her help.
Please contact me on: Samar.Hossam@web.de
Regards, Samar
|
|
|
Powered by
FUDForum. Page generated in 0.02674 seconds