This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Trying to debug NASA world wind project a variation ov ViewIteration and I can't set a breakpoint anywhere to debug my changes. I set the breakpoint and it shows valid but when I run debug I get: Listening on javadebug User program running Not able to submit breakpoint LineBreakpoint ViewIteration.java : 195, reason: Line number information is missing in the class file gov.nasa.worldwindx.examples.ViewIteration$AppFrame$FollowPath. Invalid LineBreakpoint ViewIteration.java : 195 Not able to submit breakpoint LineBreakpoint ViewIteration.java : 152, reason: Line number information is missing in the class file gov.nasa.worldwindx.examples.ViewIteration$AppFrame$Heading. Invalid LineBreakpoint ViewIteration.java : 152 User program finished and the breakpoints become broken. The attachment can be the standard ViewIteration file from the NASA world wind SDK. The programs run OK but it is difficult to make changes. Thanks for any help you can provide.
This not a bug. Since there is no line number information in the class files, it's not possible to set breakpoint on any line. The solution is to compile sources with -g (generate debugging info).