chrome调试器调用堆栈异步选项是什么意思? [英] what does chrome debugger call stack async option mean?

查看:84
本文介绍了chrome调试器调用堆栈异步选项是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 call stack 标头上看到了此选项,尽管我勾选了该选项,但我不知道它的含义,以及勾选该选项的含义.

I saw this option on the call stack header, although I am ticking it on, I don't know what does it mean, and what's the implication by ticking it on .

推荐答案

它对于调试异步JavaScript很有用.它使您可以查看整个调用堆栈,并遍历事件侦听器(setInterval,setTimeout,XMLHttpRequest等)的堆栈跟踪.我发现它对于通过每个异步调用监视变量的值特别有用.

It's useful for debugging asynchronous JavaScript. It let's you view the entire call stack and walk the stack trace for event listeners ( setInterval, setTimeout, XMLHttpRequest and others ). I've found it particularly useful for watching the value of my variables through each async call.

您可以在此处阅读完整的说明: http://www.html5rocks.com/en/tutorials/developertools/async-call-stack/(这是我几周前了解到的内容!)

You can read a full description here: http://www.html5rocks.com/en/tutorials/developertools/async-call-stack/ (which is where I learned what it did a couple weeks ago!)

这篇关于chrome调试器调用堆栈异步选项是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆