Hacker News new | ask | show | jobs
by electroly 21 days ago
As the article mentions, stack traces in exceptions are the one place where this change doesn't really move the needle: they were already hiding stack frames related to the async machinery in exception stack traces. The main benefit here is the live call stack in the debugger.

> 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.