![]() Right-click on a variable choose "Add Watch" in the context menu.Write them manually in a new row of the Watch window. ![]() To add items to watch do any of the following: So if you write an illegal expression, you’ll see the same compiler error. The same rules apply to expressions as to code. There are 4 watch windows in Visual Studio, which you can use in different contexts (Watch 1, Watch 2, etc.).Īny expression can be entered into the watch window. ![]() It’s available from Debug | Windows | Watch | Watch 1 or Ctrl + Alt + W + 1. ![]() It’s kind of like the DataTip you get when hovering over a variable, except that you can write any expression you want. The Watch Window allows you to see value of variables and expressions while debugging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |