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 - Go to source on Class breakpoint doesn't work on files with multiple top level classes
Summary: Go to source on Class breakpoint doesn't work on files with multiple top leve...
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 130719 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-11 09:41 UTC by Petr Cyhelsky
Modified: 2009-12-02 08:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***