News for hackers. Stuff that matters.
Re:Stack Traces Are Underrated by bbatha on Monday March 10, 2025 @11:55AM (#43321915)
> In theory node has async stack traces now, but I have yet to see this work through `setTimeout` and friends. It's very common to lose parts of the stack.

You need to use the actual `await` syntax to get an async stack trace in node. Callbacks and raw promise work can't be seen by the async stack trace implementation which hooks into `await` points.

There are no comments on this comment yet.