Skip to content

Instantly share code, notes, and snippets.

@Superbil
Forked from yenliangl/gist:559257
Last active December 14, 2015 05:39
Show Gist options
  • Save Superbil/5036468 to your computer and use it in GitHub Desktop.
Save Superbil/5036468 to your computer and use it in GitHub Desktop.
# Use jdb to debug Android application
# Run ddms and select application to forward port.
ddms
# Execute jdb and attach to the listening application
# ddms show 8600 / 8700
jdb -attach localhost:8600
# Or in windows, need to specify connector explicitly
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment