rhx/SwiftGtk

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

mikolasstuchlik opened this issue · 0 comments

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.