Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 community Watch window

Currently I'm using the Community version of Visual Studio 2017 and having trouble finding the Watch Window using the debug menu or any other keyboard short cut methods. Does the watch window exist in VS2017 community? Or should use some other method for inspecting variable contents during debugging?

like image 362
RTeesdale Avatar asked Apr 08 '17 01:04

RTeesdale


People also ask

How do I open the Watch window in Visual Studio 2017?

To display the Parallel Watch window Set a breakpoint in the code. On the menu bar, choose Debug, Start Debugging. Wait for the application to reach the breakpoint. On the menu bar, choose Debug, Windows, Parallel Watch, and then choose a watch window.

How do I display a watch window in Visual Studio?

Select the variable a in the code. Select Debug > QuickWatch, press Shift+F9, or right-click and select QuickWatch.

How do I quick watch in Visual Studio?

It's available from Debug | Windows | Watch | Watch 1 or Ctrl + Alt + W + 1. There are 4 watch windows in Visual Studio, which you can use in different contexts (Watch 1, Watch 2, etc.). Any expression can be entered into the watch window. The same rules apply to expressions as to code.

How do I open a Locals window in Visual Studio?

To open the Locals window, while debugging, select Debug > Windows > Locals, or press Alt+4. This topic applies to Visual Studio on Windows.


2 Answers

Please look in Debug - Windows - Watch menu:

enter image description here

like image 133
Sergey Vlasov Avatar answered Sep 27 '22 23:09

Sergey Vlasov


You must first Debug your code with pressF5 key and then Watch window is added to Debug Menu and watch window as i said accessible from Debug>Window menu

like image 20
mehdi Avatar answered Sep 27 '22 22:09

mehdi