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 139681

Summary: Go to source on Class breakpoint doesn't work on files with multiple top level classes
Product: debugger Reporter: Petr Cyhelsky <cyhelsky>
Component: JavaAssignee: Daniel Prusa <dprusa>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description Petr Cyhelsky 2008-07-11 09:41:30 UTC
Product Version: NetBeans IDE Dev (Build 200807100006)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb)

Observed: Go to source popup menu item on Class breakpoint of nonpublic class doesn't work on files with multiple top
level classes.

Steps to reproduce: Open ClazzOne.java from memoryView sample project in editor -> create class breakpoint for class
ClazzTwo -> close the file in editor -> invoke Go to Source from breakpoint popup menu (notice that if u create class
breakpoint for class ClazzOne the Go to source does work for this new breakpoint)
Comment 1 Daniel Prusa 2008-08-07 14:47:05 UTC
More top level classes in one source file is not a recommended pattern, thus we can expect that users will encounter
this problem rarely, decreasing priority to P4.
Comment 2 Daniel Prusa 2009-05-13 14:41:39 UTC
*** Issue 130719 has been marked as a duplicate of this issue. ***