Lines Matching defs: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"
40 namespace JDWP {
93 VLOG(jdwp) << StringPrintf(" --> thread_id=%#" PRIx64 " object_id=%#" PRIx64,
95 VLOG(jdwp) << StringPrintf(" class_id=%#" PRIx64 " method_id=%#" PRIx64 " %s.%s",
98 VLOG(jdwp) << StringPrintf(" %d args:", arg_count);
106 VLOG(jdwp) << " " << argTypes[i] << StringPrintf("(%zd): %#" PRIx64, width,
111 VLOG(jdwp) << StringPrintf(" options=0x%04x%s%s", options,
115 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id,
118 if (error == JDWP::ERR_NONE) {
132 // JDWP version numbers, major and minor.
161 JDWP::JdwpTypeTag type_tag;
163 JDWP::JdwpError status = Dbg::GetClassInfo(ids[i], &type_tag, &class_status, nullptr);
180 * to be suspended, and that violates some JDWP expectations.
354 std::vector<JDWP::RefTypeId> classes;
361 JDWP::JdwpTypeTag type_tag;
364 JDWP::JdwpError status = Dbg::GetClassInfo(classes[i], &type_tag, &class_status, &descriptor);
462 JDWP::JdwpTypeTag type_tag;
464 JDWP::JdwpError status = Dbg::GetClassInfo(refTypeId, &type_tag, &class_status, nullptr);
492 VLOG(jdwp) << StringPrintf(" --> ObjectId %#" PRIx64, class_object_id);
622 JDWP::JdwpTag fieldTag = Dbg::GetStaticFieldBasicTag(fieldId);
626 VLOG(jdwp) << " --> field=" << fieldId << " tag=" << fieldTag << " --> " << value;
814 JDWP::JdwpTag fieldTag = Dbg::GetFieldBasicTag(fieldId);
818 VLOG(jdwp) << " --> fieldId=" << fieldId << " tag=" << fieldTag << "(" << width << ") value=" << value;
901 JDWP::JdwpError error = Dbg::StringToUtf8(stringObject, &str);
902 if (error != JDWP::ERR_NONE) {
906 VLOG(jdwp) << StringPrintf(" --> %s", PrintableString(str.c_str()).c_str());
925 VLOG(jdwp) << StringPrintf(" Name of thread %#" PRIx64 " is \"%s\"", thread_id, name.c_str());
975 JDWP::JdwpThreadStatus threadStatus;
976 JDWP::JdwpSuspendStatus suspendStatus;
982 VLOG(jdwp) << " --> " << threadStatus << ", " << suspendStatus;
1158 VLOG(jdwp) << " --> " << length;
1216 std::unique_ptr<JDWP::JdwpEvent, JdwpEventDeleter> pEvent(EventAlloc(modifier_count));
1223 * mods in JDWP doc).
1308 VLOG(jdwp) << StringPrintf(" Step: thread=%#" PRIx64, thread_id)
1325 return JDWP::ERR_NOT_IMPLEMENTED;
1337 VLOG(jdwp) << StringPrintf(" --> event requestId=%#x", requestId);
1414 // TODO: consider altering the JDWP stuff to hold the packet header
1608 * On entry, the JDWP thread is in VMWAIT.
1627 * from the debugger. Otherwise we (the JDWP thread) could be told to
1650 VLOG(jdwp) << DescribeCommand(request);
1686 VLOG(jdwp) << "REPLY: " << GetCommandName(request) << " " << result << " (length=" << respLen << ")";
1688 VLOG(jdwp) << HexDump(expandBufGetBuffer(pReply) + kJDWPHeaderLen, respLen, false, "");
1692 VLOG(jdwp) << "----------";
1705 } // namespace JDWP