I have a member variable struct in a C++ class I'm debugging in Visual Studio 2008 Professional. I would like to break any time the struct changes. Is it possible to do this, or must I look for every possible point in the code it could change, and set breakpoints there?
MSN
If you can determine the address of the member, you can set a data breakpoint on it:
来源:https://stackoverflow.com/questions/3231149/visual-studio-break-on-variable-change