← Back to release summary

Async Stack Tagging

Category
Miscellaneous
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome In developer trial (Behind a flag))
Intent stage
None

Summary

Web developers want to be able to see breadcrumbs in the call stack in order to figure out the causal connection between events leading to an issue. However, stack traces might be sparse or incomplete because of the implementation details of third-party schedulers. To address this, with the current version of the Async Stack Tagging API, framework developers are able to provide information about the framework’s scheduling, which will be used by DevTools to enrich the UI during debugging, such as the call stack in the Sources panel, or the output for `console.trace` in the Console panel.

Motivation

Web developers want to be able to see breadcrumbs in the call stack in order to figure out the causal connection between events leading to an issue. However, stack traces might be sparse or incomplete because of the implementation details of third-party schedulers. To address this, with the current version of the Async Stack Tagging API, framework developers are able to provide information about the framework’s scheduling, which will be used by DevTools to enrich the UI during debugging, such as the call stack in the Sources panel, or the output for `console.trace` in the Console panel.

Standards & signals

Ecosystem

Docs: https://docs.google.com/document/d/1Yv8qi-1gRuFB8EaQGb79n5GGPtm_ZRrpaigKNsf5g_0/edit

Explainers: https://docs.google.com/document/d/1Yv8qi-1gRuFB8EaQGb79n5GGPtm_ZRrpaigKNsf5g_0/edit

View on chromestatus.com