-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.30.1 fails to load projects #54
Comments
Hi!
Which of these can you see? The project manager is most likely crashing somewhere in this process, and it would be helpful to know when. |
Hi @HampusAdolfsson, Thanks, I can confirm that removing the .dep file works which is an OK workaround for me. Unfortunately right now we cannot justify spending time assessing the update to 9.40 so I'm stuck with this for now. Could you please highlight how and why cycles are created in the project? Lastly, can you please point me to a comprehensive release log for EWARM 9.40 and for IAR Build 1.30.1 version as I did not see any "VS Code integration improvement". |
@davidanderle Great! Cycles do not usually occur. They may appear when upgrading a project from an older version, but I haven't found any other case where they appear. Removing the We release a few bugfixes and improvements to the VS Code integration with each release of Embedded Workbench, but we typically do not mention them in the Embedded Workbench release notes. Instead, we list significant bugs/limitations that affect specific EW versions in the extension README. For this bug specifically, it originally did not affect any users (hence it is not mentioned anywhere). It was only with the new workspace support in IAR Build 1.30.1 that this bug started triggering. You can find the release notes for the IDE component that the VS Code integration uses here: And for the extension here: |
@HampusAdolfsson Thanks for the links and for the clarification! |
@HampusAdolfsson Should I remove the .dep file and run vscode every time? |
@dnjd4219 That sounds like it would be annoying to do every time. If you open the project in Embedded Workbench, can you find any cycles or loops in the project tree, like the one in the image I sent above? I would like to know what is causing it to appear every time you build. In any case, you can try a more aggressive workaround. In your workspace folder, create the file {
"files.exclude": {
"**/*.eww": true
}
} This will prevent the extension from loading workspace files, and should fix the crash. It also means that you won't be able to load/save batch builds from the workspace file, so if you use batch builds this might not be the best solution. |
@HampusAdolfsson I added that exclude setting to my settings.json and it works fine. |
The newest version (1.30.5) includes a workaround for this. Before loading a project with EWARM 9.30 (and other affected versions), the extension removes the .dep file automatically. Let us know if you experience any more issues with this! |
Since the rollout of the latest 1.30.1 version, my projects fail to load in the "IAR Build" tab with the following error:
Rolling back to 1.20.3 resolves it. Have you got any ideas how I could trace down the problem? For now, i'll just stick to the previous version.
The text was updated successfully, but these errors were encountered: