iarsystems / iar-vsc-build

Visual Studio Code extension for developing and building IAR projects
https://marketplace.visualstudio.com/items?itemName=iarsystems.iar-build
Mozilla Public License 2.0
38 stars 5 forks source link

IAR VSCode extension error #67

Open GregSiGenix opened 10 months ago

GregSiGenix commented 10 months ago

I'm running IAR 9.30.1 for Arm. The IAR VS Code extension always shows this notification when I open VS Code: "The IAR project manager exited unexpectedly (code 3221225725). Try reloading the window or upgrading the project from IAR Embedded Workbench." It's working ok, but I was wondering what this error is all about.

HampusAdolfsson commented 10 months ago

Hi!

The "project manager" mentioned is mainly used to support the files view, where you can add & remove files from the project. For EWARM 9.30.1, projects that contain "cycles" in the project tree are known to cause the project manager to crash. That might be what's causing your crashes too. You can find more details here: https://github.com/IARSystems/iar-vsc-build/issues/54

As you said, most things work anyway, but it would be helpful to use if you could confirm whether your crashes are the same as the ones in #54. You can test this by deleting the .dep file with the same path and name as your Embedded Workbench project (it's a temporary file that will be recreated next time you open Embedded Workbench). If that fixes the problem temporarily, it's the same crash.