Local windows debug in visual studio not there?

Sarah Kay 0 Reputation points
2023-04-14T21:12:54.4866667+00:00

I'm new to programming and wanted to set up a c compiler with visual studio. There's supposed to be a button 'Local Windows Debug' where you debug your program. That one is not there. How can I get that? (I'm not using Linux, but Windows 10)

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,156 Reputation points Microsoft External Staff
    2023-04-18T07:00:32.3833333+00:00

    Hi @Sarah Kay, 

    Welcome to Microsoft Q&A! 

    The Locals window is only available while you are debugging.

    To open the Locals window, click on Debug > Start Debugging, then select Debug > Windows > Locals. User's image

    Sincerely,

    Anna


    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.

    1 person found this answer 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.