Natural for Visual Studio Code 1.2.1 | Debugging the Natural Application | Setting Data Breakpoints
 
Setting Data Breakpoints
 
Adding a Variable Condition
Adding a Hit Condition
Data breakpoints, also known as watchpoints, allow you to pause execution whenever the value of a variable changes or a variable condition is met.
To set a data breakpoint, right-click the variable (it must be a scalar) in the Variables view to open the following context menu:
Context menu with Break on Value Change command
Choose the Break on Value Change command to add a data breakpoint to the Breakpoints view.
For example, when you selected the system variable *CURRENT-UNIT, the view looks as follows:
Breakpoints view