Four breakpoint types detect when a variable changes value or a condition becomes true:
Breaking On Access | Focuses on a single variable or address. Allows you to break not only on writes to memory but also on data reads and execution reads. You can control whether to break before or after the access. See Example of the On Access Breakpoint. |
Breaking On Modify | Focuses on a single variable or address. Cannot be used for automatic (stack allocated) variables or variables in shared memory. Does not notice if the memory was modified as a side effect of a system call. SeeExamples of the On Modify Breakpoint. |
Breaking On Value Change | Focuses on a single variable or address. Uses implicit single-stepping to detect when a variable has been modified. Use if On Access is not available or On Modify is not applicable. |
Breaking On Condition | Accepts an arbitrary expression, and triggers when the expression evaluates to Boolean, or true. |