scala/scala-async

Question: if i use debugger with async would the debugger stop on each line as in golang?

Closed this issue · 2 comments

One of the benefits as i see in golang is that if i debug the code I can do stepover -> stepover and see the actual execution. where in scala futures I need to put breakpoints inside the future results. if i use this async would it be possible then to use the debugger and see this code as step by step? coming to think of it, as the execution will pass on immediately to the line after the async block it would not be as in golang, as the async block is on one thread and the lines of code after the async block are in a different thread, so i cannot do the same nice debugging as in golang where i just execute it line by line, is my analysis correct?