I am working on a custom debug engine and I am able to get the option "Break when value changes" to pop up on the context menu for watch variables but whenever the user clicks on the option, it brings up a Microsoft Visual Studio error dialog with the following : "The expression for the data breakpoint does not specify an address."
Any ideas of what interface I may be missing on implementing or what information to pass along to the SDM?
It tries calling this interface whenever a user right clicks on a watch variable, IDebugProperty2::GetMemoryContext which I believe I'm passing the right info.
For some context, I was able to get the option to show up by passing this enum_DBG_ATTRIB_FLAGS.DBG_ATTRIB_DATA to the dwAttrib field of the DEBUG_PROPERTY_INFO struct of the IDebugProperty2::GetPropertyInfo interface function call. This might not be the right way so if I'm doing this wrong too please let me know.