How to restore line numbers after decompilation…

I use JD-GUI for decompilation to java now (http://java.decompiler.free.fr/). There is also JD-Eclipse, plugin for Eclipse.

It’s very nice tool. In general, it solves all my problems in this area. Yeah, of course, several times I got some methods decompiled not very good. And, of course, that were the most important methods for me at that moment. 🙂

However, there was more significant inconvinience for me (in both JD-GUI and JD-Eclipse, as they use the same core). Line numbers of decompiled code are not the same as line numbers of source code.

And this complicates debug process very much (breakpoints, etc).