开发者

Visual Studio: Break on variable change?

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 possib开发者_C百科le to do this, or must I look for every possible point in the code it could change, and set breakpoints there?


If you can determine the address of the member, you can set a data breakpoint on it:

https://msdn.microsoft.com/en-us/library/5557y8b4.aspx#BKMK_Set_a_data_change_breakpoint__native_C___only_

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜