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 255615

Summary: Breakpoint window shows breakpoints from closed projects
Product: php Reporter: fiala.premysl
Component: DebuggerAssignee: Tomas Mysik <tmysik>
Status: RESOLVED FIXED    
Severity: normal CC: mentlicher
Priority: P3    
Version: 8.0.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description fiala.premysl 2015-09-29 07:24:39 UTC
Scenario:
have multiple projects A, B, C. All of them contain breakpoints.
Working on one of them, say B. Others are closed.
In breakpoint view I can see breakpoints from all projects (A, B, C).

What I expected:
To see only breakpoints from opened project(s).
Comment 1 Tomas Mysik 2016-08-15 09:25:41 UTC
Should be fixed now but unfortunately it seems to me that one needs to restart the IDE.

@mentlicher: Martine, could you please verify the patch? And possibly improve it or suggest an improvement?

Thanks.

http://hg.netbeans.org/web-main/rev/6382f18adbf4
Comment 2 Quality Engineering 2016-08-16 02:51:56 UTC
Integrated into 'main-silver', will be available in build *201608160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6382f18adbf4
User: Tomas Mysik <tmysik@netbeans.org>
Log: #255615 - Breakpoint window shows breakpoints from closed projects

Unfortunately, the fix seems not to work without IDE restart.
Comment 3 Martin Entlicher 2016-08-17 09:30:42 UTC
The problem was, that the breakpoints stay valid (this status is taken as "active"). After their validity is reverted back to unknown after the debugging session finishes, they are dismissed.
This is fixed by changeset:   299967:564625a943be
http://hg.netbeans.org/web-main/rev/564625a943be
Comment 4 Quality Engineering 2016-08-18 01:49:29 UTC
Integrated into 'main-silver', will be available in build *201608180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/564625a943be
User: mentlicher@netbeans.org
Log: #255615: Have breakpoints valid during a debugging session only.