c# - Viewing variable values at runtime in VisualStudio -


Is there a device that I can use to view the values ​​of variables, as the code executes in VS ?

Now I can see them only if I keep a breakpoint. But, the problem is that the code works perfectly when I have a breakpoint. It only moves fast.

Any help would be appreciated.

Thank you

When you breakpoint, but you have variable values ​​in the Visual Studio Output window You can manually write to:

  System.Diagnostics.Debug.WriteLine (variable);  

Comments