https://kotlinlang.org logo
#android
Title
# android
b

brainail

06/21/2018, 11:28 AM
Hey everyone, I was wondering, how do you deal with the following issue: https://youtrack.jetbrains.net/issue/KT-8628 ? It’s about inline stuff and the fact that all line numbers in a stacktrace are shifted and greater than number of lines in a file. Also debugging seems like doesn’t work properly and don’t step into inline stuff easily (only if you do it manually). Did anyone meet the same issues? What is the best solution here? As an option all inline stuff should be massively tested to avoid crashes and don’t contain complex logic to avoid debugging… Thanks
f

fatih.yalmanbas

06/21/2018, 11:29 AM
Not sure how to solve such issue since basically inline functions are inserted inside source code. Maybe IDEs and Debuggers can help in the future 🤔
b

brainail

06/21/2018, 11:33 AM
Yes, it’s the point here. It says that the latest IDEA supports it but seems like not, and of course Android Studio has an older version of IDEA. So as I get it, anyone just accepted that fact and don’t have any clue where it works perfectly for now :3
f

fatih.yalmanbas

06/21/2018, 11:43 AM
Have you tried android studio canary builds ?