2

Is there any way to debug a 3rd party Java code (library) which, as I believe, was compiled without line number attributes? I attach a debugger to this class (decompiled in Eclipse using JadClipse) and I can set breakpoints on method entries, but cannot step through code line by line.

1

1 Answer 1

2

Maybe you can re-compile the decompiled code and debug that instead of the "real" jar?

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for the answer, Thilo, but this is not a solution for me as I am debugging an applet, which is deployed on a remote server. Technically I think I could recompile and "inject" it, but I am looking for more elegant solution.
As this is the only solution provided (despite the fact, that I was looking for some cleaner way to do this), I accept it. Thank you, Thilo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.