Skip to content

Cannot attach debugger to cpptools on Mac #6151

Closed
@Colengms

Description

@Colengms

Using the following launch.json, I'm unable to attach (to cpptools) on Mac Catalina 10.15.6.

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(lldb) Attach",
            "type": "cppdbg",
            "request": "attach",
            "processId": "${command:pickProcess}",
            "program": "/Users/Colen/.vscode/extensions/ms-vscode.cpptools-1.0.0/bin/cpptools",
            "MIMode": "lldb"
        }
    ]
}

This results in an immediate Debugger has disconnected from the program /Users/Colen/.vscode/extensions/ms-vscode.cpptools-1.0.0/bin/cpptools message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicedebuggerfixedCheck the Milestone for the release in which the fix is or will be available.investigate: reproThis issue's repro steps needs to be investigated/confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions