Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mikolasstuchlik opened this issue Dec 19, 2020 · 0 comments

Comments

@mikolasstuchlik
Copy link
Contributor

mikolasstuchlik commented Dec 19, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant