Auto-refresh in watch window in Visual Studio
.net, debugging, visual-studio, watch-window
Solution
You can append `,ac` to the watch expression to have it automatically refresh the value.
E.g. Instead of `xyz.ToString()` use `xyz.ToString(),ac`.
See this answer for more information.
Problem
Possible Duplicate: “This expression causes side effects and will not be evaluated”. How to suppress? I am using Watch window in Visual Studio. I have added some variables in Watch window. Sometimes to get the value while debugging I have to click the refresh icon. Isn't there some setting that allows it to auto-refresh ?