简体   繁体   English

chrome调试器调用堆栈异步选项意味着什么?

[英]what does chrome debugger call stack async option mean?

我在call stack标题上看到了这个选项,虽然我正在打开它,我不知道它是什么意思,并且通过勾选它的含义是什么。

It's useful for debugging asynchronous JavaScript. 它对调试异步JavaScript很有用。 It let's you view the entire call stack and walk the stack trace for event listeners ( setInterval, setTimeout, XMLHttpRequest and others ). 它让您查看整个调用堆栈并遍历事件侦听器的堆栈跟踪(setInterval,setTimeout,XMLHttpRequest等)。 I've found it particularly useful for watching the value of my variables through each async call. 我发现通过每次异步调用来观察变量的值非常有用。

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!) 你可以在这里阅读完整的描述: http//www.html5rocks.com/en/tutorials/developertools/async-call-stack/ (这是我几周前学到的东西!)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM