Skip to content

ms-vscode.cpptools must be manually installed in container before breakpoint can be set #22

Open

Description

@vharron

host: macOS Monterey 12.6 (Intel)
docker: 4.15.0 (93002)
vscode: Version: 1.54.1 (Universal) Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8

REPRO

vince@aeris tmp % git clone https://github.com/Microsoft/vscode-remote-try-cpp
Cloning into 'vscode-remote-try-cpp'...
remote: Enumerating objects: 141, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 141 (delta 6), reused 18 (delta 5), pack-reused 120
Receiving objects: 100% (141/141), 57.20 KiB | 1.06 MiB/s, done.
Resolving deltas: 100% (61/61), done.
vince@aeris tmp %

vscode Open folder: ~/tmp/vscode-remote-try-cpp

try to set breakpoint in main.cpp (doesn't work)

Go to extensions, install cpptools, then I'm able to set a breakpoint.

Activity

  1. michaelbprice commented on Dec 27, 2022

    @michaelbprice

    This repository is meant to be an example of a functional C++ editor environment using Dev Containers. If you use a tool that interacts with the devcontainer.json specification (such as VS Code's Dev Containers extension or the Dev Containers reference CLI implementation), it should work.

    The Dev Container file in this repository should install the C++ tools extension for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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