Android: no debug on crash
Answered
I'm currently debugging an Android app. When the app crashes, the debug session just terminates, and I must check the logcat manually to investigate.
Is this the expected behavior or bug? When reporting, what detail should I provide?
I'm using a homemade EAP built on August 10.
Please sign in to leave a comment.
This would depend on a crash, but it's pretty much expected. If the app terminates, there is nothing more you can debug.
I haven't tried Android Studio yet, I would expect a debugger attaching to it in a way similar to breakpoint, just like what the desktop debuggers do.
The exceptions are mainly Kotlin null assertion or casts exceptions, not a native one.
Just found the exception breakpoints. Will try it.
Resolved. Exception breakpoints work.
Great, thanks for the information. I thought it was some native crash and not an exception.