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.
Created attachment 99250 [details] Screenshot I have a breakpoint set in M2Configuration:168 and this breakpoint is displayed in the editor. However, it is not listed in the breakpoints view. See the attached screenshot. Not sure how to reproduce.
Sorry, my fault, I found out that the project containing this source was not open. And by default, the breakpoints view only shows breakpoints from open projects. Which is rather confusing. Why don't we show all breakpoints by default?
Well, users wanted to display only breakpoints from open projects. And Eclipse does not even allow you to debug a project that is not opened. But I see the point. We show only breakpoints from projects which are opened in Projects view. We use OpenProjects.getDefault().isProjectOpen(). But to handle this case, we'd need to have a test for projects with dependency on opened projects. We probably use SubprojectProvider to test this.
Fixed in changeset: 171815:e49348e7347d http://hg.netbeans.org/main/rev/e49348e7347d
*** Bug 187153 has been marked as a duplicate of this bug. ***
*** Bug 188749 has been marked as a duplicate of this bug. ***