Eclipse篇
Eclipse Class Decompiler
1. 简介
Eclipse Class Decompiler integrates JD, Jad, FernFlower, CFR, Procyon seamlessly with Eclipse and allows Java developers to debug class files without source code directly. It also integrates Javadoc and supports the syntax of JDK8 lambda expressions.
ECD在Eclipse中无缝集成了JD, Jad, FernFlower, CFR, Procyon等软件,并且允许Java开发者在没有源码的情况下直接调试类文件。它也集成了Javadoc功能,支持JDK8的lambda表达式语法。
2. 项目地址如下:
Github Project Page: http://www.cpupk.com/decompiler
Plugin Update Site: http://www.cpupk.com/decompiler/update
3. 安装
方法1:
1) Launch Eclipse,
2)Drag the following install button to eclipse toolbar, Drag to your running
3)Eclipse workspace to install Eclipse Class Decompiler
4)Check “Eclipse Class Decompiler”,
5)Next, next, next… and restart.
方法2:
1)Launch Eclipse,
2)Click on “Help > Eclipse Marketplace…”,
3)Search “Eclipse Class Decompiler” in the Eclipse marketplace dialog,
4)Find “Eclipse Class Decompiler” and click on button “install”,
5)Check “Eclipse Class Decompiler”,
6)Next, next, next… and restart.
方法3:
1)Launch Eclipse,
2)Click on “Help > Install New Software…”,
3)Click on button “Add…” to add an new repository,
4)Enter name as “Eclipse Class Decompiler Update Site” and enter location as “http://www.cpupk.com/decompiler/update” , then click on button “OK”,
5)Check “Eclipse Class Decompiler”,
6)Next, next, next… and restart.
4. 总结
笔者认为这是个非常方便开发者的插件,大小和设置都比较容易让人接受,Eclipse安装该插件之后能直接通过[ctrl+鼠标左键]查看反编译的源码。
Android Devolopment Tools
安装方法和简介请参见如下链接:http://blog.csdn.net/lyfuci10/article/details/46539549
Memory Analyzer
1. 简介
The Eclipse Memory Analyzer is a fast and feature-rich Java heap analyzer that helps you find memory leaks and reduce memory consumption.
Use the Memory Analyzer to analyze productive heap dumps with hundreds of millions of objects, quickly calculate the retained sizes of objects, see who is preventing the Garbage Collector from collecting objects, run a report to automatically extract leak suspects.
EMA是一个快速并且富属性的Java堆分析器,它可以帮助你查找内存泄漏和减少内存使用量。
使用EMA来分析转储了数百万数量的对象的生产堆,可以快速的计算对象保留的空间大小,发现哪个对象组织了GC来回收对象,自动生成报告来发现疑似内存泄漏之处。
2. 项目地址如下:
http://www.eclipse.org/mat/
3.安装方法
1)Launch Eclipse,
2)Click on “Help > Install New Software…”,
3)Click on button “Add…” to add an new repository,
4)Enter name as “Eclipse Memory Analyzer” and enter location as ” http://download.eclipse.org/mat/1.6.1/update-site/” , then click on button “OK”,
5)Check all two options,
6)Next, next, next… and restart.
4.总结
暂时还没使用,正在学习《深入理解Java虚拟机》,书中提到了该插件,应该是较友好的插件,先使用一段时间来补总结。