Is there a simple way to define a breakpoint, in Visual C++ 2005, that will pause the program whenever a certain value changes? I found Data Breakpoints, but those require a memory address, and provide no simple way to tie that to a variable.
+1
A:
"In the Address box, type a memory address or expression that evaluates to a memory address. For example, &avar to break when the contents of variable avar change."
Ed Guiness
2009-01-14 20:19:44
Thanks! I feel a bit stupid now. =)
Andrei Krotkov
2009-01-14 20:23:22
I just wish the same thing was available for C# debugging.
Ed Guiness
2009-01-15 10:50:22