My visual studio 2022 (professional) does not support "Watch".

혜원 성 21 Reputation points
2023-01-03T04:02:40.957+00:00

Hi, I purchased 2022 VS professional today.

I need "Watch" function to debug my code, but I don't know where is that function.

I heard that the short keys for "watch" is "Ctrl + Alt + W +1", but even though I pushed it correctly, it does not work.
The error message says that "Ctrl + Alt + W + 1 (Watch)" is binding, so the short key will not work.

How can I fix this problem?

Thank you for your answer in advance!

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
951 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,811 Reputation points Microsoft Vendor
    2023-01-03T05:57:59.06+00:00

    Hi @혜원 성 ,

    Welcome to Microsoft Q&A forum.

    Please try to click Debug > Windows > Watch > Watch 1/Watch 2/ Watch 3/ Watch 4 to use "Watch" function. Or try to press Ctrl + Alt + W, and then release the keys > press 1/2/3/4.

    275534-image.png

    See this document for details: Watch variables with Watch windows and QuickWatch.

    Feel free to contact us.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful