Skip to content

Issues with LLDB - LLDB fails upon setting a breakpoing and crashes when executing any Swift code #39

@mikolasstuchlik

Description

@mikolasstuchlik

Hello,

as I mentioned in #34 I had a problem with LLDB. I have described both the problem and the solution in two posts at the Swift forum.

Basically, whenever I tried to use LLDB, I was unable to do anything Swift related and if I attempted to, LLDB would crash on me.

I've ended up solving the issue by adding swiftSettings: [.unsafeFlags(["-Xfrontend", "-serialize-debugging-options"], .when(configuration: .debug))] to any target which has a .systemLibrary target as a dependency.

I will upload the fix to my forks shortly and in case some more problems arise, I will update this github issue.

Since I plan on merging my forks into the main repositories in the future, I just wanted to let you know about the problem and the solution.

Edit: I can conffirm the issue was solved and is public in my forks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions