8

So I have some large files that have 2000~3000 lines of code. When debugging with emulator I set breakpoints and want to inspect some variables, it takes 1 minute to finish "Collecting data". Same with moving cursor to a variable doing "evaluating". I don't know if this has something to do with Kotlin. It didn't seem to have this problem in Java even it is large file.

My PC is strong so should not cause this problem. Also upgrade Android Studio and Kotlin to the latest version.

Does anyone have large file that also have the same problem? It becomes very difficult to debug...very painful...

enter image description here enter image description here enter image description here enter image description here

2
  • 1
    I have similar problem when using kotlin, i don't have 2k-3k lines file and also it not take minutes to evaluate but for files with 200-400 lines it can take 5 sec, with java never happens. Seems like this have something with kotlin. Commented Feb 11, 2019 at 12:50
  • @MaksimNovikov Thanks for the comment. So we can confirm kotlin does causes the problem...
    – Arst
    Commented Feb 12, 2019 at 7:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.