VS debugging and watching a variable for changes

后端 未结 3 2418
太阳男子
太阳男子 2021-02-19 23:03

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.Pos         


        
3条回答
  •  不知归路
    2021-02-19 23:05

    You can set a conditional breakpoint by setting the bp and then right-click to specify a condition upon which to break at that line.

    You can add a 'Watch' to a variable and specify to break anywhere/anytime the value changes.

提交回复
热议问题