Join Slack
Powered by
Do you guys enable stacktrace recovery (<https://g...
# coroutines
a
antrax
02/25/2022, 4:52 PM
Do you guys enable stacktrace recovery (
https://github.com/Kotlin/kotlinx.coroutines/blob/master/docs/topics/debugging.md#stacktrace-recovery
) in your production builds? I wonder why it's disabled by default. It's quite hard to debug crashes in production having only the last part of the stacktrace reported.
👀 4
👌 1
e
ephemient
02/25/2022, 7:43 PM
I think
https://github.com/Kotlin/kotlinx.coroutines/issues/3153
may able to provide informative stack traces without the overhead of debug mode
ephemient
02/25/2022, 7:45 PM
and even with the current stacktrace recovery implementation,
https://github.com/Kotlin/kotlinx.coroutines/issues/2607
is lacking
a
antrax
02/25/2022, 9:43 PM
Thanks for the links. What is the overhead of debug mode besides loosing referential transparency of the exception?
22
Views
Open in Slack
Previous
Next