Join Slack
Iike `suspend` if something goes wrong inside `composable` function and app crashes then AS don’t pr...
# compose
z
zoha131
12/17/2020, 8:50 PM
Iike
suspend
if something goes wrong inside
composable
function and app crashes then AS don’t provide any fatal error in the logcat. Is there any way to get the fatal report from AS?
g
gildor
12/18/2020, 12:15 AM
When suspend throws and crashes the app you have proper stack trace (especially if coroutines debug is enabled)
z
zoha131
12/18/2020, 2:09 AM
Do I need to do anything special to get the stack trace?
g
gildor
12/18/2020, 2:12 AM
I don’t think so
gildor
12/18/2020, 2:12 AM
could you show actual crash report?
gildor
12/18/2020, 2:12 AM
because if application crashed, it should print fatal exception
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by