Lines Matching refs:JDWP
60 arg_count(0), arg_values(NULL), options(0), error(JDWP::ERR_NONE), in DebugInvokeReq()
61 result_tag(JDWP::JT_VOID), exception(0), in DebugInvokeReq()
82 JDWP::JdwpError error;
83 JDWP::JdwpTag result_tag;
85 JDWP::ObjectId exception;
103 : is_active(false), step_size(JDWP::SS_MIN), step_depth(JDWP::SD_INTO), in SingleStepControl()
111 JDWP::JdwpStepSize step_size;
112 JDWP::JdwpStepDepth step_depth;
257 static std::string GetClassName(JDWP::RefTypeId id)
261 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id)
263 static JDWP::JdwpError GetSuperclass(JDWP::RefTypeId id, JDWP::RefTypeId& superclass_id)
265 static JDWP::JdwpError GetClassLoader(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
267 static JDWP::JdwpError GetModifiers(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
269 static JDWP::JdwpError GetReflectedType(JDWP::RefTypeId class_id, JDWP::ExpandBuf* pReply)
271 static void GetClassList(std::vector<JDWP::RefTypeId>& classes)
273 static JDWP::JdwpError GetClassInfo(JDWP::RefTypeId class_id, JDWP::JdwpTypeTag* pTypeTag,
276 static void FindLoadedClassBySignature(const char* descriptor, std::vector<JDWP::RefTypeId>& ids)
278 static JDWP::JdwpError GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply)
280 static JDWP::JdwpError GetSignature(JDWP::RefTypeId ref_type_id, std::string* signature)
282 static JDWP::JdwpError GetSourceFile(JDWP::RefTypeId ref_type_id, std::string& source_file)
284 static JDWP::JdwpError GetObjectTag(JDWP::ObjectId object_id, uint8_t& tag)
286 static size_t GetTagWidth(JDWP::JdwpTag tag);
288 static JDWP::JdwpError GetArrayLength(JDWP::ObjectId array_id, int& length)
290 static JDWP::JdwpError OutputArray(JDWP::ObjectId array_id, int offset, int count,
291 JDWP::ExpandBuf* pReply)
293 static JDWP::JdwpError SetArrayElements(JDWP::ObjectId array_id, int offset, int count,
294 JDWP::Request& request)
297 static JDWP::ObjectId CreateString(const std::string& str)
299 static JDWP::JdwpError CreateObject(JDWP::RefTypeId class_id, JDWP::ObjectId& new_object)
301 static JDWP::JdwpError CreateArrayObject(JDWP::RefTypeId array_class_id, uint32_t length,
302 JDWP::ObjectId& new_array)
308 static bool MatchThread(JDWP::ObjectId expected_thread_id, Thread* event_thread)
311 static bool MatchLocation(const JDWP::JdwpLocation& expected_location,
312 const JDWP::EventLocation& event_location)
315 static bool MatchType(mirror::Class* event_class, JDWP::RefTypeId class_id)
318 static bool MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id,
322 static bool MatchInstance(JDWP::ObjectId expected_instance_id, mirror::Object* event_instance)
328 static JDWP::JdwpError GetMonitorInfo(JDWP::ObjectId object_id, JDWP::ExpandBuf* reply)
330 static JDWP::JdwpError GetOwnedMonitors(JDWP::ObjectId thread_id,
331 std::vector<JDWP::ObjectId>& monitors,
335 static JDWP::JdwpError GetContendedMonitor(JDWP::ObjectId thread_id,
336 JDWP::ObjectId& contended_monitor)
343 static JDWP::JdwpError GetInstanceCounts(const std::vector<JDWP::RefTypeId>& class_ids,
346 static JDWP::JdwpError GetInstances(JDWP::RefTypeId class_id, int32_t max_count,
347 std::vector<JDWP::ObjectId>& instances)
349 static JDWP::JdwpError GetReferringObjects(JDWP::ObjectId object_id, int32_t max_count,
350 std::vector<JDWP::ObjectId>& referring_objects)
352 static JDWP::JdwpError DisableCollection(JDWP::ObjectId object_id)
354 static JDWP::JdwpError EnableCollection(JDWP::ObjectId object_id)
356 static JDWP::JdwpError IsCollected(JDWP::ObjectId object_id, bool& is_collected)
358 static void DisposeObject(JDWP::ObjectId object_id, uint32_t reference_count)
364 static std::string GetMethodName(JDWP::MethodId method_id)
366 static JDWP::JdwpError OutputDeclaredFields(JDWP::RefTypeId ref_type_id, bool with_generic,
367 JDWP::ExpandBuf* pReply)
369 static JDWP::JdwpError OutputDeclaredMethods(JDWP::RefTypeId ref_type_id, bool with_generic,
370 JDWP::ExpandBuf* pReply)
372 static JDWP::JdwpError OutputDeclaredInterfaces(JDWP::RefTypeId ref_type_id,
373 JDWP::ExpandBuf* pReply)
375 static void OutputLineTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId method_id,
376 JDWP::ExpandBuf* pReply)
378 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic,
379 JDWP::ExpandBuf* pReply)
381 static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
382 JDWP::ExpandBuf* pReply)
384 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value,
385 JDWP::ExpandBuf* pReply)
387 static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
391 static std::string GetFieldName(JDWP::FieldId field_id)
393 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id)
395 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id)
397 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
398 JDWP::ExpandBuf* pReply)
400 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
403 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id,
404 JDWP::ExpandBuf* pReply)
406 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
409 static JDWP::JdwpError StringToUtf8(JDWP::ObjectId string_id, std::string* str)
411 static void OutputJValue(JDWP::JdwpTag tag, const JValue* return_value, JDWP::ExpandBuf* pReply)
417 static JDWP::JdwpError GetThreadName(JDWP::ObjectId thread_id, std::string& name)
420 static JDWP::JdwpError GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply)
423 static JDWP::JdwpError GetThreadGroupName(JDWP::ObjectId thread_group_id,
424 JDWP::ExpandBuf* pReply)
426 static JDWP::JdwpError GetThreadGroupParent(JDWP::ObjectId thread_group_id,
427 JDWP::ExpandBuf* pReply)
429 static JDWP::JdwpError GetThreadGroupChildren(JDWP::ObjectId thread_group_id,
430 JDWP::ExpandBuf* pReply)
432 static JDWP::ObjectId GetSystemThreadGroupId()
435 static JDWP::JdwpThreadStatus ToJdwpThreadStatus(ThreadState state);
436 static JDWP::JdwpError GetThreadStatus(JDWP::ObjectId thread_id,
437 JDWP::JdwpThreadStatus* pThreadStatus,
438 JDWP::JdwpSuspendStatus* pSuspendStatus)
440 static JDWP::JdwpError GetThreadDebugSuspendCount(JDWP::ObjectId thread_id,
441 JDWP::ExpandBuf* pReply)
448 static void GetThreads(mirror::Object* thread_group, std::vector<JDWP::ObjectId>* thread_ids)
452 static JDWP::JdwpError GetThreadFrameCount(JDWP::ObjectId thread_id, size_t& result)
454 static JDWP::JdwpError GetThreadFrames(JDWP::ObjectId thread_id, size_t start_frame,
455 size_t frame_count, JDWP::ExpandBuf* buf)
459 static JDWP::ObjectId GetThreadSelfId() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
460 static JDWP::ObjectId GetThreadId(Thread* thread) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
468 static JDWP::JdwpError SuspendThread(JDWP::ObjectId thread_id, bool request_suspension = true)
473 static void ResumeThread(JDWP::ObjectId thread_id)
479 static JDWP::JdwpError GetThisObject(JDWP::ObjectId thread_id, JDWP::FrameId frame_id,
480 JDWP::ObjectId* result)
484 static JDWP::JdwpError GetLocalValues(JDWP::Request* request, JDWP::ExpandBuf* pReply)
487 static JDWP::JdwpError SetLocalValues(JDWP::Request* request)
491 static JDWP::JdwpError Interrupt(JDWP::ObjectId thread_id)
548 static void WatchLocation(const JDWP::JdwpLocation* pLoc, DeoptimizationRequest* req)
551 static void UnwatchLocation(const JDWP::JdwpLocation* pLoc, DeoptimizationRequest* req)
556 static JDWP::JdwpError ConfigureStep(JDWP::ObjectId thread_id, JDWP::JdwpStepSize size,
557 JDWP::JdwpStepDepth depth)
559 static void UnconfigureStep(JDWP::ObjectId thread_id)
563 static JDWP::JdwpError InvokeMethod(JDWP::ObjectId thread_id, JDWP::ObjectId object_id,
564 JDWP::RefTypeId class_id, JDWP::MethodId method_id,
566 JDWP::JdwpTag* arg_types, uint32_t options,
567 JDWP::JdwpTag* pResultTag, uint64_t* pResultValue,
568 JDWP::ObjectId* pExceptObj)
581 static bool DdmHandlePacket(JDWP::Request& request, uint8_t** pReplyBuf, int* pReplyLen);
638 static JDWP::JdwpTag TagFromObject(const ScopedObjectAccessUnchecked& soa, mirror::Object* o)
641 static JDWP::JdwpTypeTag GetTypeTag(mirror::Class* klass)
644 static JDWP::FieldId ToFieldId(const mirror::ArtField* f)
647 static void SetJdwpLocation(JDWP::JdwpLocation* location, mirror::ArtMethod* m, uint32_t dex_pc)
651 static JDWP::JdwpError GetLocalValue(const StackVisitor& visitor,
653 JDWP::JdwpTag tag, uint8_t* buf, size_t width)
656 static JDWP::JdwpError SetLocalValue(StackVisitor& visitor, int slot, JDWP::JdwpTag tag,