8000 'Debug Test' from 'Test explorer' results in 'launch: property 'program' is missing or empty' · Issue #3280 · microsoft/vscode-cmake-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
'Debug Test' from 'Test explorer' results in 'launch: property 'program' is missing or empty' #3280
Closed
@taneadam

Description

@taneadam

Brief Issue Summary

image

"program": "ASDF${cmake.testProgram}", results in "launch: program 'ASDF does not exist'", so it seems like the variable exists but is set to an empty string.

CMake Tools Diagnostics

{
  "os": "linux",
  "vscodeVersion": "1.81.0",
  "cmtVersion": "1.14.34",
  "configurations": [
    {
      "folder": "/scribe",
      "cmakeVersion": "3.20.2",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "/usr/bin/gcc",
        "CXX": "/usr/bin/g++"
      }
    },
    {
      "folder": "/scale-common",
      "cmakeVersion": "unknown",
      "configured": false,
      "generator": "unknown",
      "usesPresets": false,
      "compilers": {}
    },
    {
      "folder": "/scribe/build-iwyu/include-what-you-use",
      "cmakeVersion": "3.20.2",
      "configured": true,
      "generator": "Unix Makefiles",
      "usesPresets": false,
      "compilers": {
        "C": "/usr/bin/cc",
        "CXX": "/usr/bin/c++"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    },
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": null
    },
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    }
  ]
}

Debug Log

No response

Additional Information

This feature was working well for me, and then stopped. Not sure why.

57FF

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Completed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0