Your COBOL development system provides COBOL watchpoints to help you track memory corruption. COBOL watchpoints are a type of breakpoints that you set on individual data items and not on lines of code. They enable you to watch an area of memory associated with the particular data item. When the memory changes, debugging stops on the line that immediately follows the line on which the data has changed.
You can set watchpoints () on data items in any section of the code directly from the editor.
The COBOL watchpoints are associated with the Watchpoints (Native COBOL) window (show by clicking Debug > Windows > COBOL Watchpoints).