>>Hi,
>>
>>I want to work out what is setting a variable to a particular value. Is there a way to set a breakpoint on something like this:
>>
>>MyVar = 1
>>
>>and then have the debugger stop when MyVar = 1 changes to false (or true)?
>
>You can't do this in the way you could in VFP - you have to select a specific breakpoint. But you can set a condition on the breakpoint:
>Select Debug/Windows/Breakpoint from the menu. Right click on an item and choose 'Condition'
>This will work if MyVar is a property. If it's not then you could temporarily make it one.....
>
>See:http://support.microsoft.com/kb/308469
Thanks Viv