Skip to content

Visual Studio code and IAR extension integration - Error: unable to provide automatic debug configuration #16

@ChohanSensei

Description

@ChohanSensei

Dear IAR Team,
I am in contact with your support team and I have been told that the problem I am facing is a bug and I should report it here.

Problem:
I am trying to integrate IAR extension with Visual code studio and following tutorial provided by IAR (youtube video: https://www.youtube.com/watch?v=LHwjdZte2Hk )

I get following error when I try to Debug (video step at 1:46) i.e. Run  Start Debugging. All step till this point (1:46) are successfully done.

Error

Even after debugging the project directly in Embedded workbench and , restarting both programs and PC, the error is still persistent.

I have tried excatly what is stated in github documentation but still no success:
“If the IAR C-SPY Debug extension fails to launch a debug session and asks you to debug the project in the IAR Embedded Workbench IDE first, this means that the required configuration settings files are missing. To generate them, you must open the project in the IAR Embedded Workbench IDE and first start and then close a debug session for each project configuration you want to generate the configuration settings files for.”

Info regarding versions:

  1. IAR Embedded Workbench: version 8.42.1.23878
  2. IAR C-SPY Debug extension: version 1.20.1
  3. Debug probe and target MCU: Probe: I-jet, target MCU: Traveo CYT2B7 (for this project) in general Infineon Traveo and PSoC (Arm based microcontrollers)
    Extra Information:
    IAR Build settings:
    IAR build settings

Installed extensions:
IAR extensions

Project Folder structure:
FolderStructure

Best regards,
Chohan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions