Sunday, February 9, 2014

How to attach source code for a third party jar file in Eclipse

This is to make the debugging easier in Eclipse by viewing the 3rd party source and also adding break point when in debug mode.

1. R-click on selected project > Properties

2. Go to source attachment
    Java Build Path > Libraries > choose jar to attach source > Edit

3. Browse the source archive > OK

Done for attaching source

1. red square showing Jar with source attached.
2. D-click on any class file, source code displayed.


No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...