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.

Bug 8800

Summary: Go to Source is disabled for some line breakpoints.
Product: debugger Reporter: Jan Stola <jstola>
Component: CodeAssignee: issues@debugger <issues>
Status: CLOSED WONTFIX    
Severity: minor    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Stola 2000-12-07 08:51:37 UTC
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.
Comment 1 Jan Stola 2001-01-22 12:09:59 UTC
BUG also appears in version : FFJ20
Comment 2 Daniel Prusa 2001-01-25 16:30:59 UTC
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).
Comment 3 Quality Engineering 2003-06-30 17:25:55 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.