Visual Studio Code

Visual Studio Code is an integrated development environment (IDE) made by Microsoft with support for multiple languages. It is available from the Visual Studio Code website and runs on Windows, Linux and macOS. Other IDEs such as Cursor and VSCodium are derived from Visual Studio Code and can also run Visual Studio Code extensions.

Undo supplies two Visual Studio Code extensions for debugging on Linux.

  • Time Travel Debug for C/C++ integrates udb for time travel debugging C and C++ applications and Undo recordings.

  • Time Travel Debug for Go integrates Undo’s fork of Delve for time travel debugging Go applications and Undo recordings.

If you’re debugging remotely via the Remote - Containers, Remote - SSH or Remote - WSL extensions, first attach to the remote system in your IDE.

Time Travel Debug for C/C++

Installation

In your IDE bring up the Extensions view (after connecting to the remote host, if applicable) by clicking on the Extensions icon in the Activity Bar on the side of the window. Search for undo.udb and click Install.

IDE

Extension listing

Visual Studio Code

Visual Studio Marketplace. Also installs the Microsoft C/C++ extension, automatically.

Other IDEs (Cursor, VSCodium, etc.)

Not yet supported.

Getting started

See Getting started with UDB.

Undo AI

The extension can also configure GitHub Copilot in Visual Studio Code to use UDB as an MCP server, letting Copilot investigate Undo recordings. See Undo AI in Visual Studio Code for setup instructions.

Upgrading to the undo debug type

Version 3.0 of the extension introduces a new undo debug type that communicates with UDB directly over the Debug Adapter Protocol, without requiring the Microsoft C/C++ extension. See Migrating to the undo debug type for details and migration instructions.

Time Travel Debug for Go

Installation

In your IDE bring up the Extensions view (after connecting to the remote host, if applicable) by clicking on the Extensions icon in the Activity Bar on the side of the window. Search for undo.undo-go and click Install.

IDE

Extension listing

Visual Studio Code

Visual Studio Marketplace.

Other IDEs (Cursor, VSCodium, etc.)

Open VSX Registry.

The extension depends on Google’s Go extension, which is installed automatically.

Getting started

See the Getting Started guide.