https://kotlinlang.org logo
Title
a

Adam Grzybkowski

04/28/2020, 8:46 AM
Is it possible to turn on the stack trace recovery on Android? I'm finding it very difficult to understand the issue based on what's printed by default.
g

Gabriel Feo

04/28/2020, 4:52 PM
System.setProperty("kotlinx.coroutines.debug", "on")
I was wondering why stack trace recovery isn't enabled by default. Can anyone point me to some previous discussion on this?
m

molikuner

04/28/2020, 6:59 PM
@Gabriel Feo I would think that's like that because of issue like those: https://kotlinlang.slack.com/archives/C1CFAFJSK/p1567970095254000 But there are also some other messages that state the opposite: https://kotlinlang.slack.com/archives/C1CFAFJSK/p1568708704051600?thread_ts=1568706878.049500&cid=C1CFAFJSK
a

Adam Grzybkowski

04/29/2020, 11:59 AM
@Gabriel Feo thanks, unfortunatelly this doesn't change the stack trace. Do I need the debug module as well?
g

Gabriel Feo

04/29/2020, 2:40 PM
@Adam Grzybkowski, there's no extra dependency AFAIK. I'm enabling the property in my Application's
onCreate