I have a class in C# that is acting weird. Whenever I perform some action, a property that happens to be a list loses a member. I have no idea why it's doing this. So what I'd like to do is set up a Visual Studio breakpoint that will pause the program the moment this value changes. A conditional breakpoint would not work in this scenario, since I have no idea what is removing this breakpoint.
To put it another way, I want my program to stop the moment myList.Count evaluates to a new number.
Any ideas on how to do this? Thanks!