When you work with large projects and have many breakpoints for different source files, you might find it useful to organise them in some manner.
Breakpoint view allows grouping breakpoints and creating working sets.
Group by option allows grouping breakpoints by the source files, projects, breakpoint types, etc. It is available from the Breakpoint view drop-down menu:
Breakpoints can be grouped by different criteria:
§ by types - choose Breakpoint Types;
§ by source file - choose Files;
§ by projects - choose Projects;
§ by breakpoint working sets - choose Working Set.
By default, breakpoints are grouped 'by breakpoints', that means that they are not grouped by any common feature.
To disable a group of breakpoints you have to uncheck the main checkbox next to the group name (this will remove all the dependent checkmarks):
You can group breakpoints by their working sets.
Breakpoint working set is a group of breakpoints regardless of source files, projects, etc.
Breakpoint working sets are created manually.
You can create as many breakpoint working sets as you need (if you have several breakpoint working sets, you have select a default working set among them ↓).
To create a new breakpoint working set:
Step 1 |
Choose Working Set from the Breakpoint view drop-down menu:
|
Step 2 |
In the dialog box, press New:
|
Step 3 |
Enter the name for the new working set and press Finish:
You can select one or several breakpoints or press Select All to include all the existing breakpoints to the working set.
|
Step 4 |
The newly-created working set will appear in the dialog window. Then press OK to finish:
One breakpoint can be added to several working sets.
|
To make a working set a default one, please follow these steps:
Step 1 |
Choose the Select Default Working Set option from the Breakpoint view drop-down menu:
|
Step 2 |
In the dialog box, select the Working Set and press OK: |
Any new breakpoints you add to your programs after creating a working set will not be added to it automatically - they will be displayed in the Breakpoints view outside the working set.
To include a new breakpoint into your working set, you have to add it to the necessary working set manually.
For this purpose, select the necessary working set from the list and press Edit:
You can also add breakpoints to a working set by dragging and dropping them.
To display only the breakpoints added to the current project, press Go to File for Breakpoint.
Related articles: