I would like to know how I can debug an Android app by using lldb. I mean using lldb from console not over Android Studio.
From what I found out, Android Studio is doing this:
- Pushing the app to the device
- Starting this app
- Pushing lldb-server to the device
- Starting lldb-server on the remote device
- Forwarding the ports
- Connecting to the local port which is forwarded to the device
I would like to achieve the same using lldb from the console.
Let's say I have already lldb-server on the remote device (because Android Studio did this already for me), what do I need to do is to connect to an App using lldb from the console?