diff options
Diffstat (limited to 'src/jdwp/jdwp_socket.cc')
-rw-r--r-- | src/jdwp/jdwp_socket.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/jdwp/jdwp_socket.cc b/src/jdwp/jdwp_socket.cc index d3677e8..88af4ac 100644 --- a/src/jdwp/jdwp_socket.cc +++ b/src/jdwp/jdwp_socket.cc @@ -544,10 +544,8 @@ static void dumpPacket(const unsigned char* packetBuf) { dataLen = length - (buf - packetBuf); VLOG(jdwp) << StringPrintf("--- %s: dataLen=%u id=0x%08x flags=0x%02x cmd=%d/%d", - reply ? "reply" : "req", dataLen, id, flags, cmdSet, cmd); - if (dataLen > 0) { - HexDump(buf, dataLen); - } + reply ? "reply" : "req", dataLen, id, flags, cmdSet, cmd); + VLOG(jdwp) << HexDump(buf, dataLen); } #endif |