I'm working on a Java debugger that uses JDWP, talking to the Android VM.
I'm most interested in going from the desktop to the Emulator, and not on the device. I know that on the device, it's a whole different matter, so that's why I want to concentrate going from the desktop to the Emulator.
I'm finding that some common JDWP packet commands get 'ERROR_NOT_IMPLEMENTED' errors, so it would be a lot easier if I could spy on, or be able to capture JDWP packets coming from known working debuggers, to get a better idea of what combination of commands they are sending. Being able to get the replies would be good too.
I looked at Wireshark and WinDump, but they all seem to be interface based, and no matter what settings I've tried to use, I get nothing packet-wise.
My question is, is there any tool I can use for this?
Thanks!