Add line number to compiled class

393 Views Asked by At

I'm debugging a 3rd party proprietary jar. JD-eclipse generates the source just fine but I can't add breakpoints into the generated source code. Eclipse complains the class file lacks line number info. Is there any way to work around this?

1

There are 1 best solutions below

1
On

Unfortunately, there is no workaround. If the original class was compiled without debug info it's lost to you - there's no way you can fabricate it out of the void.