You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project with cmake presets. Starting with a clean slate (before any configuration or preset selection in vscode), use a terminal to create a client stateless query under the build directory of a given preset mkdir -p </path/to/build/folder>/.cmake/api/v1/query/client-foo/ touch </path/to/build/folder>/.cmake/api/v1/query/client-foo/codemodel-v2
and then configure the project cmake --preset <preset> -B </path/to/build/folder>
As expected, at the end of the configuration CMake will have generated certain reply files under </path/to/build/folder>/.cmake/api/v1/reply.
Now launch vscode, open the project and select the same preset as above, you'll see the following message: [rollbar] Unhandled exception: Unhandled Promise rejection: Post-folder-open Error: No cache object found [object Object]
At that point, the cmake tools extension doesn't display any items.
Brief Issue Summary
I have a project with cmake presets. Starting with a clean slate (before any configuration or preset selection in vscode), use a terminal to create a client stateless query under the build directory of a given preset
mkdir -p </path/to/build/folder>/.cmake/api/v1/query/client-foo/
touch </path/to/build/folder>/.cmake/api/v1/query/client-foo/codemodel-v2
and then configure the project
cmake --preset <preset> -B </path/to/build/folder>
As expected, at the end of the configuration CMake will have generated certain reply files under
</path/to/build/folder>/.cmake/api/v1/reply
.Now launch vscode, open the project and select the same preset as above, you'll see the following message:
[rollbar] Unhandled exception: Unhandled Promise rejection: Post-folder-open Error: No cache object found [object Object]
At that point, the cmake tools extension doesn't display any items.
The issue seems similar to #2882
CMake Tools Diagnostics
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: