Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parallel watch Vs watch && Autos vs Locals in visual studio

1.What's difference between Parallel Watch & Watch and the significance of both?

2.What's difference between Autos & Locals and the significance of both?

like image 214
Teju MB Avatar asked Jun 24 '15 01:06

Teju MB


People also ask

What is the use of parallel watch window?

Parallel Watch is for debugging multithread code. "In the Parallel Watch window, you can simultaneously display the values that one expression holds on multiple threads." msdn.microsoft.com/en-us/library/hh418499.aspx Locals: Locals windows automatically displays the list of variables and it’s values within the scope of current methods.

How do I display task information in the parallel watch window?

To display task information in the Parallel Watch window, you must first open the Task window. The blank add watch columns, in which you can enter expressions to watch. Your computer might show different names or locations for some of the Visual Studio user interface elements in this article.

What is the difference between quickwatch and watch windows?

The windows are only available during a debugging session. Watch windows can display several variables at a time while debugging. The QuickWatch dialog displays a single variable at a time, and must be closed before debugging can continue. For more information on using QuickWatch, see Observe a single variable or expression with QuickWatch.

What is the difference between an analog watch and a smartwatch?

The main difference between an analog watch and a smartwatch is that a smartwatch is connected to your smartphone.


1 Answers

Locals: Locals windows automatically displays the list of variables and it’s values within the scope of current methods.

Autos : These variables are also automatically detect by the Visual Studio debugger during the debugging. Visual Studio determines which objects or variables are important for the current code statement and based on that, it lists down the “Autos” variable. Generally this shows the object in current statement and the previous statement with in that current scope.

Watch : You can manually set which data needs to be displayed, can be typed in or dropped in

http://www.codeproject.com/Articles/121623/Tips-you-should-know-about-Watch-Window-While-d

http://dailydotnettips.com/2016/01/10/difference-between-autos-and-locals-window-in-visual-studio/

like image 96
Arun Prasad E S Avatar answered Oct 07 '22 14:10

Arun Prasad E S