VS 2022 - Unable to start program The debugger is not properly installed. Run setup to install or repair the debugger.

AsafY 21 Reputation points
2022-08-16T22:25:50.24+00:00

Hi. I try to run/debug C/C++ project and I keep getting this error message.

I tried to repair VS 2022 from the installer with no success.

I tried to remove it completely using InstallCleanup.exe and installing it back with no success.
https://learn.microsoft.com/en-US/visualstudio/install/uninstall-visual-studio?view=vs-2022#remove

This is the output the Administrator Command Prompt:

Detecting Visual Studio Installs:
Detecting Instances... Done

Removing Installer Assets:
Uninstalling MSIs... Done
Deleting AppData Channels... Done
Deleting LocalAppData Channels... Done
Deleting User Cache... Done
Deleting Installer... Done
Deleting Package Cache... Done
Deleting Installer Shortcut... Done
Deleting Installer ARP Entry... Done

What else can I do to solve it?

Thanks.

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.
954 questions
{count} votes