Mike Curley

Using Watchpoint to monitor memory

Discussion created by Mike Curley on Jan 22, 2008
Latest reply on Jan 23, 2008 by Mike Curley
How does one set up a watchpoint to monitor if a specific value is being written to a location in memory?
 
For example:
Break if 0xA5 is being written to the byte address location 0xC0000?
 
I know how to setup a watchpoint for the address location, but don't know how to use the condition expression to break if 0xA5 is being written.  Using a c expression in this case doesn't make sense as it's a general location in memory.

Outcomes