politoleo / iar

IAR Embedded Workbench Visual Studio Code Extension
22 stars 17 forks source link

c_cpp_properties.json doesn't generate #29

Open xiaoYuRun opened 5 years ago

xiaoYuRun commented 5 years ago

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.

jevankovich commented 4 years ago

What's your project path and config name?

Is it possibly related to this pull request: #32

TG-PST commented 2 months ago

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?