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.
本文标签:
版权声明:本文标题:Android Studio attaching debugger to running process immediately fails JNI FatalError called: JDWP options, jvmtiError=AGENT_ERR 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736665364a1946632.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论