Search code examples
javaeclipsedecompilerjadclipsejd-eclipse

Debugging with Eclipse JD - line mismatch


I have many classes with no source attached. I am using JD and it works just right in most cases, but in several files it shifts line realignments too much, starting from some point and keeps constant shift of X lines. It is extremely annoying during the debugging, even with line number in the comments.

Pic related - please notice correct realignment till 398th line, then strange things happen and all the lines afterwards are shifted by 6.

Picture

Has anyone encountered that problem and knows the solution?

Some additional info: - Eclipse version - Luna - The same happens with JadClipse File Viewer - Disabling realignment makes everything much, much worse - I can't just attach the source.


Solution

  • Okay, I have done my research and found Eclipse Class Decompiler:

    http://www.cpupk.com/decompiler/

    I fiddled with it for a moment and it solved my problems. It offers superior functionality compared to bare JD or Jadclipse.