A watchpoint halts the debugger when a specific variable is read from or written to.
当读取或写入某个特定变量时,检查点将暂停调试器。
2
A watchpoint will break program execution when the specified expression changes value, but it must be set when the variables used in the expression are in scope.