You can view and change the properties of a breakpoint from the context menu of the Breakpoint view - by the Breakpoint properties... option :
All information on the selected breakpoint will be displayed in a dialog box:
§ Enabled shows if the breakpoint is enabled or not,
§ Hit Count determines when your program will suspend on the breakpoint↓,
§ Enable Conditione allows setting custom conditions for the breakpoint↓.
Hit Count allows suspending the program execution when the breakpoint is encountered for the Nth time.
To enable the Hit Count option, set N value where N is any positive integer:
In the screenshot above, the program execution will be suspended after the breakpoint is encountered for the first time.
When hit, the breakpoint is disabled until either it is re-enabled or the hit count is changed.
It will also be re-enabled after the program has been terminated or re-launched.
Enable Condition allows setting custom conditions for the breakpoint:
You can specify unique conditions for every breakpoint (this condition will determine at what point the breakpoint is hit).
You can use any logical expression that can be either true or false as the condition for a breakpoint.
If a condition is enabled, the breakpoint will not suspend the execution of the program unless the condition is met.
If the breakpoint with an enabled condition is disabled, it will not suspend the execution even if the condition is met.
Related articles: