To set an On Access breakpoint to stop whenever the address that contains y is modified, you would set the following in the Details pane:
You can set an On Access breakpoint to stop whenever the contents of a string change. For example, your program has a variable defined as:
char * sp = "hello world\n"
To find where a change occurs in the value of sp, set the following in the Details pane:
The sp does not require an ampersand (&) because you want to watch the string.
To set an On Access breakpoint to stop whenever any portion of the string is used (read), set the following:
You can just type a variable name if the variable contains the address of
another variable you want to watch.