Lines Matching refs:JDWP
77 DebugInvokeReq(uint32_t invoke_request_id, JDWP::ObjectId invoke_thread_id, in DebugInvokeReq()
83 options(invoke_options), reply(JDWP::expandBufAlloc()) { in DebugInvokeReq()
87 JDWP::expandBufFree(reply); in ~DebugInvokeReq()
92 const JDWP::ObjectId thread_id;
102 JDWP::ExpandBuf* const reply;
114 SingleStepControl(JDWP::JdwpStepSize step_size, JDWP::JdwpStepDepth step_depth, in SingleStepControl()
120 JDWP::JdwpStepSize GetStepSize() const { in GetStepSize()
124 JDWP::JdwpStepDepth GetStepDepth() const { in GetStepDepth()
146 const JDWP::JdwpStepSize step_size_;
147 const JDWP::JdwpStepDepth step_depth_;
259 static void ConfigureJdwp(const JDWP::JdwpOptions& jdwp_options)
286 static std::string GetClassName(JDWP::RefTypeId id)
290 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId* class_object_id)
292 static JDWP::JdwpError GetSuperclass(JDWP::RefTypeId id, JDWP::RefTypeId* superclass_id)
294 static JDWP::JdwpError GetClassLoader(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
296 static JDWP::JdwpError GetModifiers(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
298 static JDWP::JdwpError GetReflectedType(JDWP::RefTypeId class_id, JDWP::ExpandBuf* pReply)
300 static void GetClassList(std::vector<JDWP::RefTypeId>* classes)
302 static JDWP::JdwpError GetClassInfo(JDWP::RefTypeId class_id, JDWP::JdwpTypeTag* pTypeTag,
305 static void FindLoadedClassBySignature(const char* descriptor, std::vector<JDWP::RefTypeId>* ids)
307 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
309 static JDWP::JdwpError GetSignature(JDWP::RefTypeId ref_type_id, std::string* signature)
311 static JDWP::JdwpError GetSourceDebugExtension(JDWP::RefTypeId ref_type_id,
314 static JDWP::JdwpError GetSourceFile(JDWP::RefTypeId ref_type_id, std::string* source_file)
316 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t* tag)
318 static size_t GetTagWidth(JDWP::JdwpTag tag);
320 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int32_t* length)
322 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id, int offset, int count,
323 JDWP::ExpandBuf* pReply)
325 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
326 JDWP::Request* request)
329 static JDWP::JdwpError CreateString(const std::string& str, JDWP::ObjectId* new_string_id)
331 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId* new_object_id)
333 static JDWP::JdwpError CreateArrayObject(JDWP::RefTypeId array_class_id, uint32_t length,
334 JDWP::ObjectId* new_array_id)
340 static bool MatchThread(JDWP::ObjectId expected_thread_id, Thread* event_thread)
343 static bool MatchLocation(const JDWP::JdwpLocation& expected_location,
344 const JDWP::EventLocation& event_location)
347 static bool MatchType(ObjPtr<mirror::Class> event_class, JDWP::RefTypeId class_id)
350 static bool MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id,
354 static bool MatchInstance(JDWP::ObjectId expected_instance_id, mirror::Object* event_instance)
360 static JDWP::JdwpError GetMonitorInfo(JDWP::ObjectId object_id, JDWP::ExpandBuf* reply)
362 static JDWP::JdwpError GetOwnedMonitors(JDWP::ObjectId thread_id,
363 std::vector<JDWP::ObjectId>* monitors,
366 static JDWP::JdwpError GetContendedMonitor(JDWP::ObjectId thread_id,
367 JDWP::ObjectId* contended_monitor)
373 static JDWP::JdwpError GetInstanceCounts(const std::vector<JDWP::RefTypeId>& class_ids,
376 static JDWP::JdwpError GetInstances(JDWP::RefTypeId class_id, int32_t max_count,
377 std::vector<JDWP::ObjectId>* instances)
379 static JDWP::JdwpError GetReferringObjects(JDWP::ObjectId object_id, int32_t max_count,
380 std::vector<JDWP::ObjectId>* referring_objects)
382 static JDWP::JdwpError DisableCollection(JDWP::ObjectId object_id)
384 static JDWP::JdwpError EnableCollection(JDWP::ObjectId object_id)
386 static JDWP::JdwpError IsCollected(JDWP::ObjectId object_id, bool* is_collected)
388 static void DisposeObject(JDWP::ObjectId object_id, uint32_t reference_count)
394 static std::string GetMethodName(JDWP::MethodId method_id)
396 static bool IsMethodObsolete(JDWP::MethodId method_id)
398 static JDWP::JdwpError OutputDeclaredFields(JDWP::RefTypeId ref_type_id, bool with_generic,
399 JDWP::ExpandBuf* pReply)
401 static JDWP::JdwpError OutputDeclaredMethods(JDWP::RefTypeId ref_type_id, bool with_generic,
402 JDWP::ExpandBuf* pReply)
404 static JDWP::JdwpError OutputDeclaredInterfaces(JDWP::RefTypeId ref_type_id,
405 JDWP::ExpandBuf* pReply)
407 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id,
408 JDWP::ExpandBuf* pReply)
410 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic,
411 JDWP::ExpandBuf* pReply)
413 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
414 JDWP::ExpandBuf* pReply)
416 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value,
417 JDWP::ExpandBuf* pReply)
419 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
423 static std::string GetFieldName(JDWP::FieldId field_id)
425 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id)
427 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id)
429 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
430 JDWP::ExpandBuf* pReply)
432 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
435 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id,
436 JDWP::ExpandBuf* pReply)
438 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
441 static JDWP::JdwpError StringToUtf8(JDWP::ObjectId string_id, std::string* str)
443 static void OutputJValue(JDWP::JdwpTag tag, const JValue* return_value, JDWP::ExpandBuf* pReply)
449 static JDWP::JdwpError GetThreadName(JDWP::ObjectId thread_id, std::string* name)
451 static JDWP::JdwpError GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply)
453 static JDWP::JdwpError GetThreadGroupName(JDWP::ObjectId thread_group_id,
454 JDWP::ExpandBuf* pReply)
456 static JDWP::JdwpError GetThreadGroupParent(JDWP::ObjectId thread_group_id,
457 JDWP::ExpandBuf* pReply)
459 static JDWP::JdwpError GetThreadGroupChildren(JDWP::ObjectId thread_group_id,
460 JDWP::ExpandBuf* pReply)
462 static JDWP::ObjectId GetSystemThreadGroupId()
465 static JDWP::JdwpThreadStatus ToJdwpThreadStatus(ThreadState state);
466 static JDWP::JdwpError GetThreadStatus(JDWP::ObjectId thread_id,
467 JDWP::JdwpThreadStatus* pThreadStatus,
468 JDWP::JdwpSuspendStatus* pSuspendStatus)
470 static JDWP::JdwpError GetThreadDebugSuspendCount(JDWP::ObjectId thread_id,
471 JDWP::ExpandBuf* pReply)
477 static void GetThreads(mirror::Object* thread_group, std::vector<JDWP::ObjectId>* thread_ids)
480 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_t* result)
482 static JDWP::JdwpError GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame,
483 size_t frame_count, JDWP::ExpandBuf* buf)
486 static JDWP::ObjectId GetThreadSelfId() REQUIRES_SHARED(Locks::mutator_lock_);
487 static JDWP::ObjectId GetThreadId(Thread* thread) REQUIRES_SHARED(Locks::mutator_lock_);
493 static JDWP::JdwpError SuspendThread(JDWP::ObjectId thread_id, bool request_suspension = true)
497 static void ResumeThread(JDWP::ObjectId thread_id)
502 static JDWP::JdwpError GetThisObject(JDWP::ObjectId thread_id, JDWP::FrameId frame_id,
503 JDWP::ObjectId* result)
506 static JDWP::JdwpError GetLocalValues(JDWP::Request* request, JDWP::ExpandBuf* pReply)
508 static JDWP::JdwpError SetLocalValues(JDWP::Request* request)
511 static JDWP::JdwpError Interrupt(JDWP::ObjectId thread_id)
551 static void WatchLocation(const JDWP::JdwpLocation* pLoc, DeoptimizationRequest* req)
553 static void UnwatchLocation(const JDWP::JdwpLocation* pLoc, DeoptimizationRequest* req)
617 static JDWP::JdwpError ConfigureStep(JDWP::ObjectId thread_id, JDWP::JdwpStepSize size,
618 JDWP::JdwpStepDepth depth)
620 static void UnconfigureStep(JDWP::ObjectId thread_id)
636 static JDWP::JdwpError PrepareInvokeMethod(uint32_t request_id, JDWP::ObjectId thread_id,
637 JDWP::ObjectId object_id, JDWP::RefTypeId class_id,
638 JDWP::MethodId method_id, uint32_t arg_count,
639 uint64_t arg_values[], JDWP::JdwpTag* arg_types,
668 static bool DdmHandlePacket(JDWP::Request* request, uint8_t** pReplyBuf, int* pReplyLen);
712 static JDWP::JdwpTag TagFromObject(const ScopedObjectAccessUnchecked& soa, mirror::Object* o)
715 static JDWP::JdwpTypeTag GetTypeTag(ObjPtr<mirror::Class> klass)
718 static JDWP::FieldId ToFieldId(const ArtField* f)
721 static void SetJdwpLocation(JDWP::JdwpLocation* location, ArtMethod* m, uint32_t dex_pc)
725 static JDWP::JdwpState* GetJdwpState();
742 static void BuildInvokeReply(JDWP::ExpandBuf* pReply, uint32_t request_id,
743 JDWP::JdwpTag result_tag, uint64_t result_value,
744 JDWP::ObjectId exception)
747 static JDWP::JdwpError GetLocalValue(const StackVisitor& visitor,
749 JDWP::JdwpTag tag, uint8_t* buf, size_t width)
751 static JDWP::JdwpError SetLocalValue(Thread* thread, StackVisitor& visitor, int slot,
752 JDWP::JdwpTag tag, uint64_t value, size_t width)