VS debugging and watching a variable for changes

Posted by Shawn Mclean on Stack Overflow See other posts from Stack Overflow or by Shawn Mclean
Published on 2010-03-27T18:56:54Z Indexed on 2010/03/27 19:03 UTC
Read the original article Hit count: 298

Filed under:
|
|

I have a property inside a class that is getting changed by something. The only place I change the value of this code is a line that looks like this:

pushpin.Position.Altitude = -31;

During visual studio debugging, is there a way to watch .Altitude for any changes made, preferably it breaks at the assignment statement that changes the value.

If this is the correct way to track down this problem, could I have a step-by-step tutorial/instruction on how to do this?

Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about debugging