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!

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

Answer accepted by question author
  1. Tianyu Sun-MSFT 34,676 Reputation points Microsoft External Staff
    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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.