Ben Tam
Ben Tam

Reputation: 677

How to open the Watch Window in Visual Studio 2019

I search on Google about "Visual Studio 2019 Watch Window". It tells me that open the Watch Window by the menu sequence Debug > Windows > Watch. However there is no an Watch item in the Windows menu. Can anybody tell me how to open the Watch window?

enter image description here

Upvotes: 15

Views: 29625

Answers (2)

Abhishek Duppati
Abhishek Duppati

Reputation: 663

Add a breakpoint in your code, and then click "start debugging(F5)". Then Select DEBUG -> Windows -> Watch

Have you already started debugging? The watch window option is only visible under DEBUG -> Windows during debugging (debugger must be running or in break mode).

Upvotes: 2

kiwi
kiwi

Reputation: 326

button becomes visible when in debug mode, debug> window> watch

Upvotes: 19

Related Questions