sidorares / node-adbhost

node.js adb (android debug bridge) client
MIT License
40 stars 8 forks source link

implement jdwp client #4

Open sidorares opened 9 years ago

sidorares commented 9 years ago

this belongs to a separate package, saving links here to help restore later

http://blog.ioactive.com/2014/04/hacking-java-debug-wire-protocol-or-how.html

( would be good t add it as agent to https://github.com/sidorares/node-vim-debugger )

sidorares commented 9 years ago

http://docs.oracle.com/javase/1.5.0/docs/guide/jpda/jdwp-spec.html

sidorares commented 9 years ago

Adb part: open jdwp stream, and use it for JDWP protocol:

jdwp:<pid>
    Connects to the JDWP thread running in the VM of process <pid>.
sidorares commented 9 years ago

example forwarding jdwp stream to a tcp port: https://asantoso.wordpress.com/2009/09/26/using-jdb-with-adb-to-debugging-of-android-app-on-a-real-device/

sidorares commented 9 years ago

http://codeseekah.com/2012/02/16/command-line-android-development-debugging/