Posts
How to debug .class file in eclipse
- Get link
- X
- Other Apps

There are so many open source framework/products available in market, many of the time as a developer we want to explore/debug the code from .class files to understand the logic in depth. Another case can be, when using some .jar in project we might have to change the implementation of a function but before making any changes we need to be sure that we understand existing implementation very correctly. Without writing too much theory now I'll jump on how we can debug the .class file in eclipse. Step 1) Open Eclipse -> Windows/Eclipse (if you have macbook) -> Preferences -> General -> Editors -> Text Editors Make sure " Show line numbers " checkbox is selected Step 2) Open Eclipse -> Windows/Eclipse (if you have macbook) -> Preferences -> General -> Editors -> File Associations Click on *.class without source Select Class Decompiler viewer and click on Default. Click A...