Search code examples
c#visual-studio-2017visual-studio-community

Missing "Add Watch" context menu when right clicking on variable in VS2017 Community


As the title says, there is no "Add Watch" context menu when right clicking on variable in VS2017 Community when debugging.

Please see screenshot.

Screenshot

Any help is appreciated. Thanks in advance.

EDIT: I have updated the screenshot and it is in debug mode


Solution

  • You are not in debug mode. Start you application in debug mode and it will show up.

    EDIT:

    You must have hit a breakpoint to add a watch. The whole point of a watch is to be able to see the value change as you step through your code.