Nevertheless, the compiler provides some kind of internal API to walk over continuations (at runtime, not statically) and we are leveraging it in #792. Moreover, we have an even better solution: https://github.com/Kotlin/kotlinx.coroutines/tree/debug-agent/core/kotlinx-coroutines-core-test...
Steps to reproduce I have upgraded my app to use Flutter 3.27.0 and now I see the following crash in the Stability tab in Goggle Play Pre-lunch report (every time I upload the bundle). Expected results No crashes in Google Play Pre-launch reports. Actual results The app crashes in Googl...
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)at java.base/java.lang....
在这个 newCoroutineContext() 方法里面,会将作为参数的 Context,也就是 EmptyCoroutineContext,和当前的 Coroutine,也就是 BlockingCoroutine,关联在一起。 接着会根据是否 Debug 模式,如果是 Debug 的话,会对协程设置协程ID,方便调试;具体 Debug 设置,可以参考 Debug.kt 中 DEBUG_PROPERTY_NAME,相关解释。
(discontinued)fake_async 1.3.1 (1.3.2 available)file_picker 8.1.3 (8.1.4 available)file_selector_linux 0.9.3 (0.9.3+1 available)go_router 14.4.1 (14.6.0 available)google_identity_services_web 0.3.1+5 (0.3.2 available)http_parser 4.0.2 (4.1.1 available)infinite_calendar_view 1.0.2 ...