Reputation: 7916
Eclipse provides an opportunity to view java source code by using Source attachement in project's Java Build properties, but is it possible also to debug java source code?
I try to install breakpoint inside some java .class
file and get :
Unable to install breakpoints in java source file due to missing line number attributes
Upvotes: 1
Views: 759
Reputation: 2524
You may have the compiler set to include debugging information in YOUR class files, but the class files in rt.jar weren't compiled that way. You need to either recompile all the source for the classes in rt.jar (not for the faint of heart), or download a debug build of the jdk.
Upvotes: 4