开发者

java decompiler for eclipse

I use JD for 开发者_高级运维eclipse to decompile classes. There is a problem with line numbers. For example debugger shows current line 1123 but source code generated by JD has less than 1000 lines, however it shows correct (or very close to) lines in the comments

/*  519 */     this(new SunHTTPHandler());

while real line number is only 51.

Is it possible to solbe this issue?


I don't think JD has any ability to get the line numbers right. This is incredibly annoying, i know!

Jad does a better job than JD with the line numbers. However, it does a worse job at decompilation. You could give it a try and see if it's good enough for you.

Alternatively, it should be a simple matter of sed scripting to massage the output files to get the line numbers right.


The jadclipse plugin can sort the output of jad to align line numbers but the code is pretty limited (read: it often fails).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜