Do you guys enable stacktrace recovery (<https://g...
# coroutines
a
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
I think https://github.com/Kotlin/kotlinx.coroutines/issues/3153 may able to provide informative stack traces without the overhead of debug mode
and even with the current stacktrace recovery implementation, https://github.com/Kotlin/kotlinx.coroutines/issues/2607 is lacking
a
Thanks for the links. What is the overhead of debug mode besides loosing referential transparency of the exception?