|
|
|
|
|
by tikotus
23 days ago
|
|
Friendlier stack traces have an important upside: Cancellation is done by throwing exceptions, but you can't stop it from storing the full stack trace in a string. This can result in a noticeable hitch if the stack is very deep and complex. With a friendlier stack trace, I hope this issue is finally gone. |
|
> One especially useful result is a clearer live call stack. Profilers and debuggers can show the asynchronous methods themselves instead of the infrastructure used to execute them. This is a distinction from exception stack traces, which already hide much of that infrastructure.
Maybe exceptions will still gain some benefit because it doesn't have to physically walk so many frames? But the string at the end is likely to be roughly as big as before.