Hi you all, we have been trying to debug java programs without having the source code (having only the jar files with .class). The main goal of this task was to be able to debug through .class files and being able to step through the code having the debugger always showing the correct line of the code.
Finally, we succeeded with the help of a combination of jd-eclipse and its extension jd-eclipse realignment fragment.
The process for installing this is quite simple:
The association should look like this:
Let me know if you face any problems with this procedure and I’ll try to help!
Note: I have empirically found out that in order for the source to be found if the jar files being used in the project belong to a different project, they need to be added to the build path as “Add External JARs…“.Otherwise if “Add Jar”, is used you will get this message when stepping into a class from that JAR:
Let’s start with the definition given by the official page. “Mockito is a mocking framework that tastes really good. It […]
Continue readingWhen the great idea and background just isn’t enough […]
Continue readingDo you have problems with the space on your disk? You are in the right place! This post is for […]
Continue readingHave you ever wanted to be one step ahead, and be notified of any unwanted exception before your users have […]
Continue reading
COMMENTS