Skip to content

CMake stops working: "cmake .viewLog" or others says command not found #4279

@borjamunozf

Description

@borjamunozf

Brief Issue Summary

Hello.

  • C++ real world project, mid-large size company one.
  • Ubuntu 20.04 WSL
  • It has been happening for multiple releases. Latest one also: 1.19.52
  • Bisecting cames up to CMakeTools extension.

Extension seems to stop working randomly. Sometimes it takes a few hours, other it crashes.

NODE_OPTIONS has been added in ~/.bashrc already.

Error messages:

  • Any CMake command stops working, so I can't get or execute the log diagnostics or any other.
cmake.logDiagnostics: command not found:
cmake.viewLog command not found`

Workaround
The workaround is to restart vscode and opening the project again.

Any guidance or help how I can provide you more info to help work this out?

CMake Tools Diagnostics

Debug Log

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    more info neededMore info is needed from the community for us to properly triage and investigate.

    Type

    No type

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions