Created
March 3, 2013 15:43
-
-
Save alterakey/5076581 to your computer and use it in GitHub Desktop.
Android debugger attacher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pid="$1" | |
if test -z "$pid"; then | |
echo "usage: $0 <pid>" | |
echo "debuggable PIDs:" | |
adb jdwp | |
exit 1 | |
fi | |
adb forward tcp:8600 jdwp:"$1" | |
rlwrap jdb -attach localhost:8600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment