You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to debug the Swift source in Android Studio? #372
The native debugger is currently not supported, unfortunately. We don't really understand why not, because lldb should be supported, but it's probably because Swift ships with its own version of lldb that is difficult to install on an Android device without enabling root mode on there
In Android Studio go to Run -> Edit Configurations... -> Debugger tab
Select Dual (Java + Native).
Set starting lldb command: settings set target.language swift - maybe one day this will just work!
Activity
ephemer commentedon Jul 9, 2022
The native debugger is currently not supported, unfortunately. We don't really understand why not, because lldb should be supported, but it's probably because Swift ships with its own version of lldb that is difficult to install on an Android device without enabling root mode on there
3d4m-volodymyr commentedon Jul 25, 2023
Debugging partially works, but no swift support in NDK's lldb.
buildTypesSelect Dual (Java + Native).
Set starting lldb command:
settings set target.language swift- maybe one day this will just work!More useful reads on lldb https://github.com/rustymagnet3000/lldb_debugger
3d4m-volodymyr commentedon Jul 26, 2023
Btw, I was able to use xcode's lldb and lldb-server from apple's llvm fork.


Not the best experience but looks promising