I’m seeing an issue with Kotlin 1.4.10 and corouti...
# flow
e
I’m seeing an issue with Kotlin 1.4.10 and coroutines v1.4.1 on Android, where a breakpoint inside
Flow.map
won’t fire properly.
Copy code
myFlow
   .map { input ->
        someFunction(input)  // breakpoint here doesn't fire
   }
However, if I extract that method, it fires:
Copy code
val transform: suspend (input: ...) -> ... = {
    someFunction(input)  // breakpoint here fires!
}

myFlow
    .map(transform)
has anyone seen this?
e
It looks to be specific to your case. It does not reproduce for me in simple cases. If it reliably reproduces for you it means it is a bug in debugger. It would be great to report it to https://kotl.in/issue
👍 2