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?
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.
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.
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.
The main difference between an analog watch and a smartwatch is that a smartwatch is connected to your smartphone.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With