Skip to main content

How to use VSCode as Front-End for TRACE32 - Knowledgebase / Setup / update - Lauterbach Support

How to use VSCode as Front-End for TRACE32

Authors list

How to use VSCode as Front-End for TRACE32®

To use Visual Studio Code (VSCode) as a frontend for TRACE32®, use the TRACE32® Extension Pack.

PRACTICE Extension: Script Authoring

This extension provides syntax highlighting for Lauterbach’s scripting language PRACTICE (*.cmm).

TRACE32® Debug Extension: VSCode as a Frontend for PowerView

The TRACE32® Debug Adapter Protocol (DAP) Server enables Visual Studio Code to act as a frontend for TRACE32®. The extension simplifies the setup and configuration of the DAP server and provides the following integrations into Visual Studio Code:

  • Create debug configurations to attach to and launch TRACE32® PowerView.

  • Control the TRACE32® PowerView command line from the Debug Console.

  • Run PRACTICE scripts from VSCode (requires the PRACTICE extension).

💡 Previously, the t32debugadapter was usable with generic node debug configuration types. The trace32 type provides IntelliSense support and lets the extension spawn the DAP server automatically.

Installation

  1. Install the TRACE32® Debug extension from the marketplace, or the Lauterbach TRACE32® Extension Pack, which additionally contains the PRACTICE and TRACE32® AI extensions.

  2. Install a recent version of TRACE32® PowerView (requires 2026.09).

  3. Ensure that the environment variable T32SYS is set, or configure the path to your installation with the setting trace32.systemPath.

The debug adapter is started by the extension. By default, it is resolved from the TRACE32 system path (setting trace32.debugAdapterPath). For information on how to configure the DAP server, see the article Debug Adapter Protocol (DAP) Support by TRACE32®.

TRACE32® AI Extension: Agentic Debugging

The TRACE32® AI extension brings agentic debugging to VSCode:

  • Chat with the TRACE32® AI Assistant.

  • Let AI agents control PowerView through the TRACE32® MCP server.

More information on TRACE32® AI: https://lauterbach.com/trace32-ai

Helpful Unhelpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image