When debugging and stopped at a breakpoint mouse over a variable and you should see an icon to click to drop a pin.
Click it, the icon that looks like a rightward pointing pushpin.
This drops a pin and in effect makes a little UI element near the variable that is watching the variable and reporting the value. All this happens without a secondary watch window taking up a lot of screen real estate.
When the variable's value changes the watcher will turn red to alert you. In this case I just pressed F5 to hit the same breakpoint in the foreach loop for the next item.
No comments:
Post a Comment