10 ms·
Async/await has a logical stack that is distinct from the physical stack(s). Quality tooling would show you said logical stack instead of a mish-mash of physica
by int_19h 8y ago
Async/await has a logical stack that is distinct from the physical stack(s). Quality tooling would show you said logical stack instead of a mish-mash of physical stacks from different async functions that happen to be intermingled on the current thread. Example:
https://blogs.msdn.microsoft.com/devops/2013/07/01/debugging-asynchronous-code-in-visual-studio-2013-call-stack-enhancements/ https://blogs.msdn.microsoft.com/devops/2013/07/01/debugging...
So you don't need to deal with "inscrutable callback state machines" anymore so than you need to deal with the assembly labels and jumps that your for-loop compiles into.