Arm CMSIS Debugger extension

The Arm CMSIS Debugger extension pack available in Visual Studio Code provides tools to debug projects built with the CMSIS-Toolbox. It contains a set of extensions that are required to create the debug environment and is shipped with pyOCD and a GDB frontend.

The following extensions are included in this extension pack:

  • CDT™ GDB Debug Adapter Extension, an Eclipse CDT.cloud extension that supports debugging using GDB and any other debuggers that support the MI protocol.

  • Memory Inspector, an Eclipse CDT.cloud extension that provides a powerful and configurable memory viewer that works with debug adapters.

  • Peripheral Inspector, an Eclipse CDT.cloud extension that provides a CMSIS SVD viewer and works with debug adapters.

We recommend installing the following extensions to simplify the user experience:

  • Arm Tools Environment Manager, an extension that allows you to download, install, and manage software development tools using Microsoft® Vcpkg artifacts. For example, use this extension to install the Arm GNU Toolchain which comes with a GDB variant for Arm CPUs.

  • Arm CMSIS Solution, an extension that is a graphical user interface for csolution projects that use the CMSIS-Toolbox. Use this extension to build your csolution projects, to generate *.cbuild-run.yml debug configuration files, and to make use of contributed commands in your debug launch configurations.

Supported debug probes

The Arm CMSIS Debugger extension pack supports a wide range of debug probes:

Multi-core debugging

The Arm CMSIS Debugger is capable of multi-core debugging. You can create a debug configuration for multiple target cores to be debugged within a single VS Code session using the same debug adapter, provided the adapter and target support concurrent multi-core debugging.

Contents

  • Setup explains how to install the CMSIS Debugger extension and related debug components.

  • Create launch configuration shows how to set up the debugger for single- and multi-core devices.

  • Start debugging demonstrates how to enter the VS Code debugger.

  • Debug views provide access to code execution and device peripherals.

Revision history

Version Description
0.1.1 Release for the Arm CMSIS Debugger extension version 0.1.1
0.1.0 Initial release for the Arm CMSIS Debugger extension version 0.1.0