I'd like to set a memory watchpoint in KDS (v3.2.0), so that program execution halts, if the memory location is loaded with a specific value. Is this possible?
Hi Jim Fell
Yes, in the memory window, after you add a memory monitor, you can right click on the address you want to set a memory watchpoint, click on "Add Watchpoint (C/C++)" and this breakpoint will appear in your Breakpoint view:
Hope this helps
Thanks, but I already know how to do that. It will pause execution every time the value at that memory location is changed. I needed to be able to pause execution only when the memory location is changed to a specific value. I'm debugging a data buffer, so the values at the memory location change frequently.
you can specify that in the 'condition' field of the watchpoint, see towards the end of C/C++ Watchpoints with Eclipse Kepler | MCU on Eclipse
I hope this helps,
Retrieving data ...