I have a boolean variable that is changing from false to true somewhere along the line when it shouldn't. I'm trying to track how this happens but don't really know how to go about it. I have set a breakpoint at the point it is made True. I can then add
it to a watch window when the app is running. But I don't know what to do from there or even if this is the right procedure.
Prior to this I searched the code page to see where the var = false and they are all in places that shouldn't interfere.
To add to the complexity .... the var is checked in a timer's tick event handler. If true it does one thing and if false another. I have some code there to update a label to show the value of the var but it is always false.
Is there some way of setting up some kind of trace list that shows wherever that var is changed?
Go to the complete details ...