- Fetch the log info
- Analyze the crash info
- Search the Google/Stack Overflow
- Summarize the process
Fetch the log info
|
|
Analyze the crash info
04-10 10:03:48.551 7366-7366/? A/DEBUG: Abort message: ‘art/runtime/jdwp/jdwp_event.cc:661] Check failed: Thread::Current() != GetDebugThread() (Thread::Current()=0xac58f400, GetDebugThread()=0xac58f400) Expected event thread’
Search the Google/Stack Overflow
Problem could be related with Android version 7.x, i removed all the breakpoints in nested functions and it worked, tested with Android version 6.0 too, and it is working without problem.
According to google developers team response, it was fixed on 12/1/2016 and will be applied in next release.
In my case i had to disable Instant Run. It seems like Instant Run has all sorts of side effects and this can be one of them.
Note, in Android Studio, the is under File -> Settings -> Build, Execution, Deployment -> Instant Run
Summarize the process
Reference
Android app crashes when launched in debug mode
Issue 227513: art/runtime/jdwp/jdwp_event.cc:661] Check failed: Thread::Current() != GetDebugThread() (Thread::Current()=0x7ffeecc19400, GetDebugThread()=0x7ffeecc19400) Expected event thread