-
Kotlin Coroutines-debug 예제& 디버깅 Tutorial & 코루틴 가이드코딩Coding/Java&Kotlin 2023. 11. 25. 20:46728x90
디버깅 Tutorial
https://kotlinlang.org/docs/debug-coroutines-with-idea.html#debug-coroutines메모리 leak?
This text means that the variable's lifetime was decreased, and the variable doesn't exist anymore. It is difficult to debug code with optimized variables because you don't see their values. You can disable this behavior with the -Xdebug compiler option.
Never use this flag in production: -Xdebug can cause memory leaks.
https://youtrack.jetbrains.com/issue/KT-48678/Coroutine-debugger-disable-was-optimised-out-compiler-feature?_gl=1*1dmmmrj*_ga*MTM4ODAyODIwMi4xNzAwOTEyNjYy*_ga_9J976DJZ68*MTcwMDkxMjY2MS4xLjEuMTcwMDkxMzI5NC42MC4wLjA.&_ga=2.9542003.715637141.1700912662-1388028202.1700912662#focus=Comments-27-6015585.0-0
https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-debug/
https://github.com/reactor/BlockHound/blob/1.0.8.RELEASE/docs/quick_start.md
https://stackoverflow.com/questions/59345012/kotlin-android-how-to-debug-coroutines-correctly
다른글 보기
코틀린 문법 총 정리 - https://economiceco.tistory.com/m/19102반응형'코딩Coding > Java&Kotlin' 카테고리의 다른 글
Architecture of Netflix (2) 2024.12.06 Android Development Full Course 2023 | Kotlin Tutorial | Complete Tutorial (0) 2023.11.25 코틀린 문법 총 정리 (2) 2023.11.25 개고생하면서 배우는 Kotlin 집중 분석 003_Divided&Conquer(helix, Android Studio Debugging) (0) 2023.11.24 유료$)간편결제 프로젝트로 한 번에 끝내는 실전MSA 초격차 패키지 Online (0) 2023.10.28 Java 21… and Beyond (0) 2023.10.14 Service Mesh for Kotlin Developers | Kotlin by JetBrains (0) 2023.10.11 Java @Pathvariable, @RequestParam, @Param (2) 2023.10.01