Skip to content

CMSIS View stuck on Loading when working with a VS Code Workspace #322

Description

@jkrech

Created from here: ARM-software/vscode-cmsis-csolution#516
by @RossBCohr

Type: Bug Report

When opening a workspace in VSCode which contains a directory which has a csolution file in its root directory the CMSIS View fails to load the csolution file and gets stuck showing "Loading". If I open the project as "Open Folder" rather than "Open Workspace From File" where the workspace has the project in its workspace it seems to load very quickly after opening the folder.

This is necessary as part of our workflow to use a workspace as work with a number of different repos at one time so need to be able to view and edit files across multiple repos and use source control for each repo. We also have a local pack used in our csolution project so need to be able to use source control for both the project and local pack at the same time.

Describe the bug

  • OS and Version: Windows 11
  • VS Code Version: v1.120
  • Extension Version: v1.20.2 Keil studio pack, 1.66.0 CMSIS Solution

To Reproduce
Steps to reproduce the behavior:

  1. In VSCode go to File -> Open Workspace From File
  2. Select workspace to open
  3. Ensure folder containing csolution project is within the workspace
  4. The CMSIS View doesn't open the solution, instead it gets stuck in "Loading"

Expected behavior
The csolution project should open in the CMSIS View successfully as part of a VS Code workspace just as is it does when opening the project folder on its own

Screenshots

Image

Additional Information

Reproducible in CMSIS Solution 1.67.2

If I right click and select one of the other folders in my workspace and select "Remove Folder From Workspace", this seems to almost kick the CMSIS View and it then seems to load the cmsis solution. This happens if I were to remove any of the other folders in the workspace also so I don't think its a case of a "bad" folder that is breaking CMSIS loading.

  • Arm Tools Environment Manager is used
  • CMSIS-Toolbox, AC6 (6.24) cmake (3.28.4) and ninja (1.12.0) are activated

Problem is reproducible on other user's machine

It always seems to work when opened as a folder (loads with a few seconds) but as soon as we add any other folder to the workspace it gets stuck in "Loading...".
The folders we are adding to the workspace don't contain any cmsis solutions or any other keil related files

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions