源代码面板中的“threads”是什么

What is `threads` in the source panel

今天我在 Sources 面板的 WatchCall stack 部分下遇到了 threads 部分。现在我试图找到它,但它不在那里。它是做什么用的?为什么不是所有网站都显示?

当您正在查看的页面使用 Web Worker 来 运行 多线程时,它就在那里。 (试一试on this demo page。)

它允许您select调试哪个线程。

比如可以在多个线程中同时暂停执行。当您单击每个线程时,调用堆栈等会更新以显示该线程的信息。