Ask questionslaunch: program ''does not exist

<!-- Please search existing issues to avoid creating duplicates. --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: -->

<!-- Use Help > Report Issue to prefill these. -->

  • VSCode Version: 1.40.2
  • OS Version: 18363.476

Steps to Reproduce: as the 2. launch: program 'C:\WINDOWS\systerm32\projects\helloworld.exe' does not exist. launch.json: `{

// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit:
"version": "0.2.0",
"configurations": [
        "name": "(gdb) Launch",
        "type": "cppdbg",
        "request": "launch",
        "program": "${workspaceFolder}/helloworld.exe",
        "args": [],
        "stopAtEntry": false,
        "cwd": "${workspaceFolder}",
        "environment": [],
        "externalConsole": false,
        "MIMode": "gdb",
        "miDebuggerPath": "C:/Mingw-w64/mingw64/bin/gdb",
        "setupCommands": [
                "description": "Enable pretty-printing for gdb",
                "text": "-enable-pretty-printing",
                "ignoreFailures": true


tasks.json: `{

"version": "2.0.0",
"tasks": [
    "label": "build hello world",
    "type": "shell",
    "command": "g++",
    "args": ["-g", "-o", "helloworld", "helloworld.cpp"],
    "group": {
      "kind": "build",
      "isDefault": true


"configurations": [
        "name": "Win32",
        "includePath": [
        "defines": [
        "windowsSdkVersion": "10.0.18362.0",
        "compilerPath": "C:/Mingw-w64/mingw64/bin/g++.exe",
        "cStandard": "c11",
        "cppStandard": "c++17",
        "intelliSenseMode": "gcc-x64"
"version": 4

}<!-- Launch withcode --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes/No


Answer questions liboriolam

I reinstalled the vscode, win10 and the situation did not change. But the C:\WINDOWS\systerm32\projects\helloworld.exe does exist.


Related questions

XHR Failed on trying to install plugins via Visual Studio code hot 9
the terminal process terminated with exit code #259 hot 7
The terminal shell CWD &#34;/c:/User...&#34; does not exist - vscode hot 4
Insiders - We cannot connect to the Extensions Marketplace hot 4
Bad message: Cannot launch program 'c:\...'; setting the 'outFiles' attribute might help. hot 3
Show offending file path, when "Tokenization is skipped for long lines for performance reasons. The length of a long line can be configured via `editor.maxTokenizationLineLength`." hot 3
format code alt + shift + f hot 2
Corrupt ZIP: end of central directory record signature not found hot 2
"Initializing JS/TS Language Features" appears every time I open a JS file hot 2
dart is not recognized as internal or external command hot 2
Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work hot 2
VS Code doesn't read Git packed-refs hot 2
Is it possible to use wsl bash php for php.validate.executablePath hot 2
Error message: Sorry, Java IntelliCode Support has problem, for more details, please view Output hot 2
Git Fetch fails with Missing or invalid credentials hot 2
Github User Rank List