android/docs/DebugInstructions.md
gradle.properties or in your $HOME/.gradle/gradle.properties file set the following:mullvad.app.build.keepDebugSymbols=true
mullvad.app.build.replaceRustPathPrefix=false
Run -> Edit configurations...app configuration is selected.Debugger tab, select Dual (Java + Native)View Breakpoints... icon in the debug view.+ -> Symbolic Breakpoints and enter a function name in the Symbol name field.Android Studio should now break on the function you selected.
NOTE: When running LLDB, Android Studio can sometimes get into a state where it will try to
connect to the debugger when running the app normally, which blocks the app from starting.
To fix this run adb shell am clear-debug-app.