iar icon indicating copy to clipboard operation
iar copied to clipboard

c_cpp_properties.json doesn't generate

Open xiaoYuRun opened this issue 5 years ago • 2 comments

After I configure the iar.json & workspace, then I Run ctrl+shift+b to start build,there are only "Building configuration: debug" in output, nothing happened, neither generate the file: c_cpp_properties.json, I tried to reload the workspace、IAR Enbedded Workbench、restart computer , but it's no use.

xiaoYuRun avatar Aug 20 '19 00:08 xiaoYuRun

What's your project path and config name?

Is it possibly related to this pull request: #32

jevankovich avatar Oct 23 '19 15:10 jevankovich

This is also an issue with the latest version of the extension even when my project paths contain no spaces.

Deleting the .vscode folder does not help, only iar-vsc.json gets generated as follows:

{
  "workspace": {
    "path": "${workspaceFolder}\\project\\dummy_workspace.eww"
  },
  "workspaces": {
    "${workspaceFolder}\\project\\dummy_workspace.eww": {
      "configs": {},
      "selected": {
        "path": "${workspaceFolder}\\project\\dummy_project.ewp"
      }
    }
  },
  "workbench": {
    "path": "C:\\Program Files\\IAR Systems\\Embedded Workbench 9.2"
  }
}

Building the project does not help.

I've also tried this with an existing IAR 8.32.4 project with the same results.

Does the extension generate a debug log that I could look at?

TG-PST avatar Jun 24 '24 10:06 TG-PST