Break when a value changes using the Visual Studio debugger
In the Visual Studio 2005 menu: Debug -> New Breakpoint -> New Data Breakpoint Enter: &myVariable
In the Visual Studio 2005 menu: Debug -> New Breakpoint -> New Data Breakpoint Enter: &myVariable
Put your breakpoint. Right-click the breakpoint image on the margin and choose Breakpoint Properties: Configure condition as you see fit: