Skip to content

Cbuild setup complains about trace node under debugger #350

@jreineckearm

Description

@jreineckearm

Type: Bug Report

Describe the bug

  • OS and Version: Windows 11 Enterprise
  • VS Code Version: 1.104.2
  • Extension Version: Internal build from main
  • Target Device: Alif AE722F80F55D5LS
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

When I switch between a real HW device and an AVH target, I see some scenarios where refreshes seem to be missing.

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/Arm-Examples/cmsis-mlek-examples.git
  2. Open subfolder Alif/AppKit_D3/MLEK_AV_DualCore in VS Code.
  3. Update vcpkg-configuration.json to use CMSIS-Toolbox 2.11.0
  4. Wait for setup to finish
  5. Refresh through CMSIS view (...>Refresh (reload....) to get a valid cbuild-run file.
  6. Open "Manage Solutions" dialog
  7. Select "CMSIS-DAP" or "ULINKplus" (whatever gives you an active "Save" button) and click "Save"
    => This currently gives you a trace node under debugger. The following automatic refresh then complains during cbuild setup phase
Execute: cbuild setup ....\cmsis-mlek-examples\Alif\AppKit_D3\MLEK_AV_DualCore\mlek_dual.csolution.yml --active AE722F80F55D5LS --packs --update-rte
..../cmsis-mlek-examples/Alif/AppKit_D3/MLEK_AV_DualCore/out/mlek_dual+AE722F80F55D5LS.cbuild-run.yml:144:5 - error csolution: unexpected instance type

Completed: cbuild failed with exit code 1

Looks like a schema file needs updating? If I understand correctly, the debugger node should accept now any key-value pair.

Expected behavior

Code sample and logs

  • Code sample
  • tasks.json

Screenshots

Additional context

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions