Skip to content

Cannot run lldb-dap when using an Xcode toolchain #521

Description

@matthewbastien

I'm using the latest Xcode with swiftly and am unable to launch lldb-dap:

❯ swiftly run lldb-dap
env: lldb-dap: No such file or directory

The location of lldb-dap in Xcode is actually located outside the toolchain directory which is probably why swiftly is unable to find it:

❯ swiftly use --print-location
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain

❯ xcrun --find lldb-dap
/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap

This issue breaks debugging in VS Code when using swiftly with an Xcode toolchain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions