Describe the bug:
After updating IAR Build to v1.30.5, upon opening the IAR project directory the extension fails to load the project citing "Invalid method name: 'GetCurrentConfiguration' as the error.
To Reproduce:
Open VSCode, select 'Open Folder...' and select the directory containing the IAR EWARM project.
VSCode toast will appear at the bottom right showing 'Invalid method name: 'GetCurrentConfiguration'. Inspect the IAR Build log output to see the same error message.
Note: Reverting back to v1.30.4 does not have this behaviour.
Expected behavior:
Project should have loaded successfully.
Actual behavior:
Project fails to load, therefore no files are available in the IAR Build file tree.
Environment:
OS: Windows
Embedded Workbench: ARM
Embedded Workbench version: IAR Embedded Workbench for ARM 9.20.4
VSC Extension version: v1.30.5
Additional context:
Log output:
[2/19/2024, 8:38:01 AM][Debug] Activating extension
[2/19/2024, 8:38:01 AM][Debug] Selected workbench: undefined
[2/19/2024, 8:38:01 AM][Debug] Selected workspace: undefined
[2/19/2024, 8:38:01 AM][Debug] Selected workbench: undefined
[2/19/2024, 8:38:01 AM][Debug] Loaded thrift workbench 'undefined'
[2/19/2024, 8:38:01 AM][Debug] Loaded workspace 'undefined'
[2/19/2024, 8:38:01 AM][Debug] Found 1 workspace(s) in the VS Code workspace
[2/19/2024, 8:38:01 AM][Debug] Selected workspace: XPU
[2/19/2024, 8:38:01 AM][Debug] Loaded workspace 'XPU'
[2/19/2024, 8:38:01 AM][Debug] Collected 2 toolchains
[2/19/2024, 8:38:01 AM][Debug] Selected workbench: Embedded Workbench 9.20.4 (Arm)
[2/19/2024, 8:38:01 AM][Debug] 1 new toolchain(s) added
[2/19/2024, 8:38:01 AM][Debug] Loading thrift workbench 'Embedded Workbench 9.20.4 (Arm)'
[2/19/2024, 8:38:01 AM][Debug] Found 1 project(s) in the VS Code workspace
[2/19/2024, 8:38:01 AM][Debug] Loaded thrift workbench 'Embedded Workbench 9.20.4 (Arm)'
[2/19/2024, 8:38:01 AM][Debug] Ignoring dialog cannotLoadWorkspaces ('do not show again' has been pressed)
[2/19/2024, 8:38:01 AM][Debug] Loading thrift workspace: XPU
[2/19/2024, 8:38:01 AM][Debug] Loading project: c:\Users\GAllan\dev\xpu\XPU.ewp
[2/19/2024, 8:38:01 AM][Debug] Ignoring dialog duplicateGroups ('do not show again' has been pressed)
[2/19/2024, 8:38:01 AM][Error] Failed to load 'c:\Users\GAllan\dev\xpu\XPU.ewp': Invalid method name: 'GetCurrentConfiguration'
[2/19/2024, 8:38:01 AM][Debug] Parsing project: c:\Users\GAllan\dev\xpu\XPU.ewp
[2/19/2024, 8:38:01 AM][Debug] Loaded workspace 'XPU'
[2/19/2024, 8:38:01 AM][Debug] Lazy-loading project: XPU
[2/19/2024, 8:38:01 AM][Debug] Ignoring dialog duplicateGroups ('do not show again' has been pressed)
[2/19/2024, 8:38:01 AM][Error] Failed to load 'c:\Users\GAllan\dev\xpu\XPU.ewp': Invalid method name: 'GetCurrentConfiguration'
[2/19/2024, 8:38:01 AM][Debug] Intellisense config changed. Notifying cpptools.
Describe the bug: After updating IAR Build to v1.30.5, upon opening the IAR project directory the extension fails to load the project citing "Invalid method name: 'GetCurrentConfiguration' as the error.
To Reproduce:
Expected behavior: Project should have loaded successfully.
Actual behavior: Project fails to load, therefore no files are available in the IAR Build file tree.
Environment:
Additional context: Log output: [2/19/2024, 8:38:01 AM][Debug] Activating extension [2/19/2024, 8:38:01 AM][Debug] Selected workbench: undefined [2/19/2024, 8:38:01 AM][Debug] Selected workspace: undefined [2/19/2024, 8:38:01 AM][Debug] Selected workbench: undefined [2/19/2024, 8:38:01 AM][Debug] Loaded thrift workbench 'undefined' [2/19/2024, 8:38:01 AM][Debug] Loaded workspace 'undefined' [2/19/2024, 8:38:01 AM][Debug] Found 1 workspace(s) in the VS Code workspace [2/19/2024, 8:38:01 AM][Debug] Selected workspace: XPU [2/19/2024, 8:38:01 AM][Debug] Loaded workspace 'XPU' [2/19/2024, 8:38:01 AM][Debug] Collected 2 toolchains [2/19/2024, 8:38:01 AM][Debug] Selected workbench: Embedded Workbench 9.20.4 (Arm) [2/19/2024, 8:38:01 AM][Debug] 1 new toolchain(s) added [2/19/2024, 8:38:01 AM][Debug] Loading thrift workbench 'Embedded Workbench 9.20.4 (Arm)' [2/19/2024, 8:38:01 AM][Debug] Found 1 project(s) in the VS Code workspace [2/19/2024, 8:38:01 AM][Debug] Loaded thrift workbench 'Embedded Workbench 9.20.4 (Arm)' [2/19/2024, 8:38:01 AM][Debug] Ignoring dialog cannotLoadWorkspaces ('do not show again' has been pressed) [2/19/2024, 8:38:01 AM][Debug] Loading thrift workspace: XPU [2/19/2024, 8:38:01 AM][Debug] Loading project: c:\Users\GAllan\dev\xpu\XPU.ewp [2/19/2024, 8:38:01 AM][Debug] Ignoring dialog duplicateGroups ('do not show again' has been pressed) [2/19/2024, 8:38:01 AM][Error] Failed to load 'c:\Users\GAllan\dev\xpu\XPU.ewp': Invalid method name: 'GetCurrentConfiguration' [2/19/2024, 8:38:01 AM][Debug] Parsing project: c:\Users\GAllan\dev\xpu\XPU.ewp [2/19/2024, 8:38:01 AM][Debug] Loaded workspace 'XPU' [2/19/2024, 8:38:01 AM][Debug] Lazy-loading project: XPU [2/19/2024, 8:38:01 AM][Debug] Ignoring dialog duplicateGroups ('do not show again' has been pressed) [2/19/2024, 8:38:01 AM][Error] Failed to load 'c:\Users\GAllan\dev\xpu\XPU.ewp': Invalid method name: 'GetCurrentConfiguration' [2/19/2024, 8:38:01 AM][Debug] Intellisense config changed. Notifying cpptools.