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)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 questions
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.
943 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
    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.