Preparation: 1) install gdbserver inside the emulator $ sudo mount -o remount,rw / $ sudo apt-get update && sudo apt-get install --no-install-recommends gdbserver
2) create an sudo askpass script in /home/phablet/askpass $ echo -e "#!/bin/sh\necho 0000" > /home/phablet/askpass $ chmod 700 /home/phablet/askpass 3) get the pid and optionally the executable path of the victim process. Usage: ./run-gdb.sh <pid> [<executable path>] ** Attachment added: "Script to attach gdb to an arbitrary running emulator process" https://bugs.launchpad.net/ubuntu/+source/android/+bug/1273890/+attachment/4391073/+files/run-gdb.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1273890 Title: emulator camera does not take picture To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/android/+bug/1273890/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs