Quantcast
Channel: LLDB - Swift Forums
Viewing all articles
Browse latest Browse all 40

LLDB Slow Breakpoints Despite Disabling Swift C++ Interop

$
0
0

We’re running into a performance issue with LLDB when hitting a breakpoint in a specific file. The function(in lldb-rpc-server sample) takes around ~10 seconds when a breakpoint is triggered

lldb_private::Module::IsSwiftCxxInteropEnabled()

To disable Swift C++ interop, we’ve set the following in our .lldbinit and also have "-cxx-interoperability-mode=off" in copts, but this doesn't seem to mitigate the above lag.

settings set target.experimental.swift-enable-cxx-interop false

Is there an alternative setting that explicitly disables Swift/C++ interop checks in lldb?
If not,are there known workarounds or optimizations to mitigate this performance hit?

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 40

Trending Articles