Use this type of breakpoint when you want to see where and how a variable is being changed in your program. A watch breakpoint can be deleted, but not modified.
By setting watch breakpoints, you can stop your program when the values of variables change. The watch is triggered when the content of the storage location of a variable changes.
When the content of the watched storage location changes, the program stops at the first executable statement following the change, and this line is highlighted in the editor. If the program that caused this variable to be changed has not been added to the debugger, it is automatically added if the program contains debug data, and you have sufficient authorization to the program.
When debugging a multithreaded application, you need to consider the following: