Debugging native programs using LLDV on Android 11
Mobile Side PUSH Debug Server to Phone adb push lldb-server /data/local/tmp chmod 755 /data/local/tmp/lldb-server Launch Debugger Service /data/local/tmp/lldb-server platform --listen "*:8888" --server PC Side Port Forwarding adb forward tcp:8888 tcp:8888 Launch LLDB .\lldb.exe View Supported Platforms platform list Select ANDROID Platform platform select remote-android Connect to Phone (Phone Serial Number: 9643e0ec0604). To change to the currently debugging phone, use adb devices to view the serial number. platform connect connect://9643e0ec0604:8888 View Currently Running Processes platform process list Attach attach 9053 Set Breakpoint b send Run c View Thread List thread list View Call Stack bt