Visual Studio - Variable is incremented whenever I hover my mouse over it (breakpoint)

I'm new to Visual Studio (I'm using Community 2017, v15.2) with Xamarin Forms and I am having trouble debugging.

For some reason, when at a breakpoint inside a simple for-loop (int i = 0; i <length; i ++), whenever i hover over "i ++" to check the current value, it increases. Every time I hover over it, it increments by one. I don't know if this is a bug or a function, but it is giving me a ton of problems.

Couldn't find anything related to it elsewhere on the network. Searched for a lot of terms, but it was all about "using breakpoints / debugging" or "using var increment" etc.

This GIF illustrates what I'm currently experiencing: http://i.imgur.com/pV69CAy.gifv

I would really appreciate it if someone could help me with this issue. Thank.

+3


source to share


1 answer


I am also using VS17 v15.2. I set a breakpoint for the loop and it was not incrementing the variable i due to mouse hovering. However, I had a small arrow (<|) that appeared next to the hovering code that allowed me to click on it to increase the value of i. thus, I suppose you are really suffering from any kind of bug / annoyingly tweaked settings, even if there is "increment on mouseover over breakpoint".



+1


source







All Articles