Types of Breakpoints
Breakpoints are triggered when the program reaches the specified line of source code, before it is executed. The line of code that contains a set breakpoint, is marked with a red stripe; once such line of code is reached, the marking stripe changes to blue.
Once set, a breakpoint remains in project until removed. Breakpoints can only be set on executable lines of code. Comments, declarations of functions and empty lines are not valid locations for the line breakpoints.
In this section:
These breakpoints are assigned to lines of source code and are used to target a particular section for debugging.
Temporary line breakpoints
These breakpoints are assigned to lines of source code and are used to target a particular section for debugging. When hit, such breakpoints are immediately removed.
Exception breakpoints are triggered when the specified exception is thrown or caught, depending on settings. Unlike the line breakpoints, which require specific source references, exception breakpoints apply globally to the exception condition, rather than to a particular code reference.
Symbolic breakpoints stop program execution when a specific function or method starts executing. Symbolic breakpoint can be triggered within a specific module (modules) only or within all modules, as required. Refer to Creating Symbolic Breakpoints for details.