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.
Build 1160 and Netbeans 83 -------------------------- Steps to reproduce: 1. Create some file with two top level classes. 2. Create line breakpoint by invoking Add breakpoint action. 3. As a class name of the newly created breakpoint enter the name of the non-public class from your file. 4. It is not possible to invoke Go to Source action in spite of it is a valid breakpoint.
BUG also appears in version : FFJ20
In case of creating a new breakpoint, it is difficult to obtain the Line object that corresponds to a non-public top level class name and a line number. This task is easy if "Project\Settings ...\Java Sources\Parse class files option" is set to true. There are no problems then. Otherwise, we have a patch that determines the line when the debugger is started. That is probably the best what we can do ... Note: Breakpoint's line is not highlighted in the editor too in such a situation, because the Line object is not known (and thus the Go to source action is disabled).
Resolved for 3.3.x or earlier, no new info since then -> closing.