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 186431 - Breakpoints window and editor are not in sync
Summary: Breakpoints window and editor are not in sync
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: USABILITY
: 187153 188749 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-20 12:22 UTC by Petr Jiricka
Modified: 2010-08-16 09:46 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (324.57 KB, image/png)
2010-05-20 12:22 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-05-20 12:22:16 UTC
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.
Comment 1 Petr Jiricka 2010-05-20 12:34:14 UTC
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?
Comment 2 Martin Entlicher 2010-05-20 13:27:15 UTC
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.
Comment 3 Martin Entlicher 2010-05-21 13:33:51 UTC
Fixed in changeset:   171815:e49348e7347d
http://hg.netbeans.org/main/rev/e49348e7347d
Comment 4 Martin Entlicher 2010-06-04 08:36:43 UTC
*** Bug 187153 has been marked as a duplicate of this bug. ***
Comment 5 Martin Entlicher 2010-08-02 15:48:37 UTC
*** Bug 188749 has been marked as a duplicate of this bug. ***
Comment 6 Martin Entlicher 2010-08-16 09:46:21 UTC
*** Bug 188749 has been marked as a duplicate of this bug. ***