Down and Dirty with Chrome Developer Tools

Asynchronous Stack Traces

Asynchronous stack traces allow you to inspect function calls beyond the current event loop. This is particularly useful because you can examine the scope of previously executed frames that are no longer on the event loop. This feature is currently an experiment and needs to be enabled.

Audits

In the example above, notice the difference when asyncronous stack traces are enabled and disabled. Also note that the feature needs to be enabled before the breakpoint is reached.

More about asynchronous stack traces

Exercise

Open the developer tools and click the button below. The debugger should pause after 1 second. Examine the available stack trace with async stack traces enabled and disabled.