Kotlin, Android, how to debug coroutines correctly?
问题 I trying to debug my coroutines, and breakpoints placed into suspend function does't work. Pls help me to understand why. Working with Android Studio. Ok, i launch a coroutine from viewModelScope: viewModelScope.launch(IO) { when(val result = interactor.getAllWords()){...} } In getAllWords() i wrote: override suspend fun getAllWords(): WordResult { val words = mutableListOf<Word>() when (val wordsResult = getAllWordsWithoutFiltersApplying()) {} ... return getWordsWithSelectedPattern() I have