Lines Matching refs:JDWP
29 #include "jdwp/jdwp_constants.h"
30 #include "jdwp/jdwp_event.h"
31 #include "jdwp/jdwp_expand_buf.h"
32 #include "jdwp/jdwp_priv.h"
38 namespace JDWP {
102 VLOG(jdwp) << StringPrintf(" --> thread_id=%#" PRIx64 " object_id=%#" PRIx64,
104 VLOG(jdwp) << StringPrintf(" class_id=%#" PRIx64 " method_id=%x %s.%s", class_id,
107 VLOG(jdwp) << StringPrintf(" %d args:", arg_count);
115 VLOG(jdwp) << " " << argTypes[i] << StringPrintf("(%zd): %#" PRIx64, width,
120 VLOG(jdwp) << StringPrintf(" options=0x%04x%s%s", options,
148 VLOG(jdwp) << " --> returned " << resultTag
154 if (VLOG_IS_ON(jdwp)) {
156 JDWP::JdwpError error = Dbg::StringToUtf8(resultValue, &result_string);
157 CHECK_EQ(error, JDWP::ERR_NONE);
158 VLOG(jdwp) << " string '" << result_string << "'";
161 VLOG(jdwp) << " string (null)";
175 // JDWP version numbers, major and minor.
204 JDWP::JdwpTypeTag type_tag;
206 JDWP::JdwpError status = Dbg::GetClassInfo(ids[i], &type_tag, &class_status, NULL);
223 * to be suspended, and that violates some JDWP expectations.
400 std::vector<JDWP::RefTypeId> classes;
407 JDWP::JdwpTypeTag type_tag;
410 JDWP::JdwpError status = Dbg::GetClassInfo(classes[i], &type_tag, &class_status, &descriptor);
508 JDWP::JdwpTypeTag type_tag;
510 JDWP::JdwpError status = Dbg::GetClassInfo(refTypeId, &type_tag, &class_status, NULL);
538 VLOG(jdwp) << StringPrintf(" --> ObjectId %#" PRIx64, class_object_id);
668 JDWP::JdwpTag fieldTag = Dbg::GetStaticFieldBasicTag(fieldId);
672 VLOG(jdwp) << " --> field=" << fieldId << " tag=" << fieldTag << " --> " << value;
842 JDWP::JdwpTag fieldTag = Dbg::GetFieldBasicTag(fieldId);
846 VLOG(jdwp) << " --> fieldId=" << fieldId << " tag=" << fieldTag << "(" << width << ") value=" << value;
928 JDWP::JdwpError error = Dbg::StringToUtf8(stringObject, &str);
929 if (error != JDWP::ERR_NONE) {
933 VLOG(jdwp) << StringPrintf(" --> %s", PrintableString(str.c_str()).c_str());
952 VLOG(jdwp) << StringPrintf(" Name of thread %#" PRIx64 " is \"%s\"", thread_id, name.c_str());
1005 JDWP::JdwpThreadStatus threadStatus;
1006 JDWP::JdwpSuspendStatus suspendStatus;
1012 VLOG(jdwp) << " --> " << threadStatus << ", " << suspendStatus;
1188 VLOG(jdwp) << " --> " << length;
1246 * mods in JDWP doc).
1331 VLOG(jdwp) << StringPrintf(" Step: thread=%#" PRIx64, thread_id)
1350 return JDWP::ERR_NOT_IMPLEMENTED;
1362 VLOG(jdwp) << StringPrintf(" --> event requestId=%#x", requestId);
1438 // TODO: consider altering the JDWP stuff to hold the packet header
1615 * On entry, the JDWP thread is in VMWAIT.
1633 * from the debugger. Otherwise we (the JDWP thread) could be told to
1649 * We do not want events to be sent while we process a request. Indicate the JDWP thread starts
1666 VLOG(jdwp) << DescribeCommand(request);
1695 VLOG(jdwp) << "REPLY: " << GetCommandName(request) << " " << result << " (length=" << respLen << ")";
1697 VLOG(jdwp) << HexDump(expandBufGetBuffer(pReply) + kJDWPHeaderLen, respLen, false, "");
1700 VLOG(jdwp) << "----------";
1750 VLOG(jdwp) << StringPrintf("wait for processing request");
1755 VLOG(jdwp) << StringPrintf("finished waiting for processing request");
1760 } // namespace JDWP