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.

0
5 comments

This would depend on a crash, but it's pretty much expected. If the app terminates, there is nothing more you can debug.

0

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.

0

Just found the exception breakpoints. Will try it.

0

Resolved. Exception breakpoints work.

0

Great, thanks for the information. I thought it was some native crash and not an exception.

0

Please sign in to leave a comment.