microsoft / microsoft/vscode-cmake-tools

[Bug] CMake/Launch integrated terminal cannot start the program

Open
#4,542 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug more info needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

Brief Issue Summary
Image Image
CMake Tools Diagnostics
{
  "os": "win32",
  "vscodeVersion": "1.103.0",
  "cmtVersion": "1.21.36",
  "configurations": [
    {
      "folder": "d:\\Github\\CloudDriver",
      "cmakeVersion": "3.29.3",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe",
        "CXX": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}
Debug Log
2025-08-11 06:07:16.254 [info] // Open the file you want to test to the side and watch here
2025-08-11 06:07:16.254 [info] // Output mirrored at file:///c%3A/Users/18071/AppData/Local/Temp/vcode-tm-log-390b9e1b-eecf-4ee5-b3e3-9467f1ef8a9b.txt
Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CMake/Launch integrated-terminal failure on Windows using the provided CMake Tools diagnostics and debug log. Trace the launch flow from the reported configuration and terminal action; done means the configured program starts successfully in the integrated terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.