You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All we know that code in async block cannot be debugged properly with IDE because they don't support async/await library yet. This issue can be easily fixed by creating stub library "org.scala-lang.modules" %% "scala-async-debug" % "1.0.0" that can be replaced from scala-async library when you need to debug your application. Why wouldn't provide this feature ?
The stub snippet looks very simple but can provide the ability to debug the application:
BTW, IntelliJ has recently added some support in their debugger for async (evaluate expression knows that local variables in an async block might be translated to name mangled fields in a state machine class).
What specific debugging limitations are you referring to?
All we know that code in async block cannot be debugged properly with IDE because they don't support async/await library yet. This issue can be easily fixed by creating stub library
"org.scala-lang.modules" %% "scala-async-debug" % "1.0.0"
that can be replaced fromscala-async
library when you need to debug your application. Why wouldn't provide this feature ?The stub snippet looks very simple but can provide the ability to debug the application:
The text was updated successfully, but these errors were encountered: