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 195828

Summary: Debugger: Store breakpoints per project group.
Product: debugger Reporter: pekarna <pekarna>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
URL: http://www.pohlidame.cz/
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Breakpoints grouped by projects

Description pekarna 2011-02-22 23:41:01 UTC
Currently, the breakpoints are stored globally.
When I switch to a completely different project group, it doesn't make much sense to keep the same breakpoints.

I suggest to store them per project, or per project group.

To keep the current functionality, I'd add a dropdown menu "Scope" to the breakpoint editor dialog which would have these options:
  * Global
  * Current project
  * Current project group (default)

They would be enabled / disabled based on what project is being debugged.

In the Breakpoints view, under "Select breakpoint groups", there would be another checkbox, "Hide bp's outside scope".
Comment 1 pekarna 2011-02-22 23:44:18 UTC
Similar RFE, (not that greedy :)
Bug 175475
Comment 2 markiewb 2012-09-28 21:55:05 UTC
Created attachment 125081 [details]
Breakpoints grouped by projects

Breakpoints are not stored by project. 

But in the breakpoints view they can be grouped by project. This aggregate node including its breakpoints can be disabled/enabled at one click. Does this works for you?

See screenshot