admin管理员组

文章数量:1125917

I am trying to attach android studio debugger to my app while it's running, I immediately get the error:

jni_internal:825] JNI FatalError called: JDWP options, jvmtiError=AGENT_ERROR_OUT_OF_MEMORY(188)
runtime:691] All threads:
runtime:691] DALVIK THREADS (85):
runtime:691] "main" prio=10 tid=1 Native
runtime:691]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x731768c0 self=0xf408aa00
runtime:691]   | sysTid=22471 nice=-10 cgrp=top-app sched=0/0 handle=0xf4718470
runtime:691]   | state=S schedstat=( 1769790815 115964218 2791 ) utm=141 stm=35 core=6 HZ=100
runtime:691]   | stack=0xff308000-0xff30a000 stackSize=8188KB
runtime:691]   | held mutexes=
runtime:691]   native: #00 pc 0005de78  /apex/com.android.runtime/lib/bionic/libc.so (syscall+28) (BuildId: 4050551115b03dff031da34992195b23)
runtime:691]   native: #01 pc 00114f57  /apex/com.android.art/lib/libart.so (art::ConditionVariable::WaitHoldingLocks+78) (BuildId: 77a446d2090d6fd72234369032e93c8e)
runtime:691]   native: #02 pc 001eb477  /apex/com.android.art/lib/libart.so (art::::CheckJNI::CallMethodV +2262) (BuildId: 77a446d2090d6fd72234369032e93c8e)
...

But what's interesting is that, if I just directly presses on "debug" and run my app, I am able to debug the program just fine.

本文标签: