Skip to content

Commit 09bb957

Browse files
authored
Merge pull request #262 from rust-lang/yoshuawuyts-async-stack-trace-references
Add a references section to async stack traces
2 parents b6b40bf + 84ccdfd commit 09bb957

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/design_docs/async_stack_traces.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,3 +708,9 @@ Or, we could simply omit the frames and have non-consecutive frame numbers.
708708

709709
In an interactive context, such as a debugger, the `...` approach is probably best, since it could also provide an option to expand that section and see the frames that are missing.
710710
In non-interactive cases, such as printing a backtrace with some `RUST_BACKTRACE` setting, it may be better to omit the frame numbers that were skipped since that leads to a slightly more compact backtrace.
711+
712+
## References
713+
714+
* [Beautiful tracebacks in Trio v0.7.0 (Python)](https://vorpus.org/blog/beautiful-tracebacks-in-trio-v070/)
715+
* [Faster async functions and Promises (JavaScript)](https://v8.dev/blog/fast-async#improved-developer-experience)
716+
* [Zero-cost async stack traces (JavaScript)](https://docs.google.com/document/d/13Sy_kBIJGP0XT34V1CV3nkWya4TwYx9L3Yv45LdGB6Q/edit#heading=h.e6lcalo0cl47)

0 commit comments

Comments
 (0)