<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 88, comments - 3, trackbacks - 0, articles - 0
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

    反編譯java class并優雅的調試

    Posted on 2013-02-22 15:01 Milo的海域 閱讀(2051) 評論(0)  編輯  收藏 所屬分類: Java
    用jd-eclipse 插件來反編譯java class文件的輸出還是挺nice的,雖然閱讀方便了 但是對debug確造成一定的困擾,主要問題是line number的不match.
    Google了下遇到類似問題的真不少。最終找到了解決方案:
    http://sourceforge.net/projects/realignmentjd/files/
    -----------------

    1. Download JD-Eclipse and JD-GUI - http://java.decompiler.free.fr/ and install.
    2. Put a file realignment.jd.ide.eclipse_1.0.2.jar in eclipse/plugins directory.
        To use Realignment feature it is necessary to open the menu Preferences/General/Editors/File Associations and to select "*.class" file type and to choose "Realignment for JD Class File Editor" for Associated editors.
        Another possibility is the batch realignment after processing JD-GUI. To work properly you must to switch on the property "Display line numbers" in Help/Preferences of JD-GUI.
        To use this feature it is necessary to open the menu Preferences/Java/Decompiler/Batch Realignment and click button "Open dialog". Existing limitation: the realignment is performed only for the methods.
        To work properly it is necessary that the property "Display line numbers" in menu "Preferences/Java/Decompiler" was active.


    JD-Eclipse插件 + realignment 補丁讓優雅的debug class 文件成為可能。

    如果只是為了閱讀class代碼,建議不要用realignment 補丁,這樣會降低代碼的可讀性(會多出大量的空行)
     
    主站蜘蛛池模板: h片在线播放免费高清| 亚洲香蕉在线观看| 免费看又黄又爽又猛的视频软件| 99在线视频免费观看视频| 亚洲乱码中文字幕小综合| 亚洲免费视频网址| 亚洲精品国产精品国自产网站| 97在线观免费视频观看| 亚洲欧洲另类春色校园网站| 一个人看的www在线观看免费| 亚洲入口无毒网址你懂的| 成人超污免费网站在线看| 亚洲а∨精品天堂在线| 亚洲国产成人久久笫一页| 久青草视频在线观看免费| 亚洲精品国产成人99久久| 美女网站免费福利视频| 亚洲精品宾馆在线精品酒店| 国产91在线免费| eeuss免费影院| 91亚洲va在线天线va天堂va国产 | 亚洲人成网站18禁止久久影院 | 亚洲黄色免费网站| 亚洲精品人成网线在线播放va | 亚洲理论片在线中文字幕| 久久这里只有精品国产免费10| 亚洲av无一区二区三区| 亚洲午夜福利精品无码| 亚欧免费无码aⅴ在线观看| 亚洲精品123区在线观看| 亚洲成?v人片天堂网无码| 亚洲午夜免费视频| 亚洲一卡2卡3卡4卡5卡6卡| 亚洲国产一成久久精品国产成人综合| 91在线免费观看| 亚洲a级在线观看| 国产成人高清亚洲| 日韩亚洲国产高清免费视频| 免费一区二区无码视频在线播放| 亚洲综合精品香蕉久久网97| 国产伦一区二区三区免费|