Eclipse-Class-Decompiler icon indicating copy to clipboard operation
Eclipse-Class-Decompiler copied to clipboard

Debug stepping not working correctly

Open mojo2012 opened this issue 7 years ago • 2 comments

Mostly when I step into a decompiled class, first the decompiler halts at the first line. Then each subsequent step forward opens a new tab with the decompiled class. The debugger seems to be at the right line (at least in the variables view) but the editor stays at the first line.

My eclipse config: eclipse_info.txt

mojo2012 avatar Apr 11 '17 10:04 mojo2012

The source is decompiled by the decompiler, and plugin recombine the source code by the line number. If the class is complex, the recombined source code may not correct, then eclipse java ast parser can't parse the source correctly. In this case, you can try another decompilers, plugin provides four decompilers to debug (Procyon can't bu used to debug). You can select the different decompilers simply by the decompiler toolbar menu.

cnfree avatar Apr 11 '17 13:04 cnfree

I tried all of them - same behavior. It worked months ago, but then an update came in and destroyed it. (see also https://github.com/cnfree/Eclipse-Class-Decompiler/issues/17)

mojo2012 avatar Jun 13 '17 12:06 mojo2012