I want to use jdb to debug a embedded java application. For this I'll attach jdb to my ServerSocket and translate JDWP commands sent by jdb to JTAG commands. (I already have jtag communication protocol for my processor).
After connect to the right port (8000, for example) and handshake with JDWP-Handshake what I have to do next? Before send debug commands to my target application.