How to debug compiled Java code in Eclipse

NSPKUWCExi2pr8wVoGNk picture NSPKUWCExi2pr8wVoGNk · Dec 15, 2009 · Viewed 44.9k times · Source

I wonder if there are any solutions for Eclipse IDE to debug Java code for which I have no source, i.e. to debug dynamically decompiled code, step through it, etc.? I tried to use JD-Eclipse, JadClipse, and these plug-ins work great if I want to look at some class files, but as I debug, I get "Source not found." - how can I "attach" these plug-ins to "provide" source?

My environment:

  • Eclipse 3.5
  • Windows XP (but I look for a cross platform solution, if possible)

Thank you.

Answer

Emmanuel Dupuy picture Emmanuel Dupuy · Dec 22, 2009

I have the same problem. Today, no decompilers are efficent to debug compiled Java code. I'm working on JD-Eclipse. In the next 3 to 6 months, the layout of JD-Eclipse should be really improved. We will start to debug classes without sources and solve some intractable problems.