为什么调试器中的列断点用于非函数调用?
mdn 网络文档 该栏说调试器中仅对函数调用给出断点:
如果该行包含多个函数调用,则每个函数调用都会 在其左侧有一个蓝色的小箭头图标。这些称为列 断点,并允许您将断点设置为在任何 行中的函数调用之一(或多个调用),通过单击每个 相关的。
然而,列断点也设置在没有进行函数调用的 for 循环中。下面是我创建的突出显示问题的图像:
The mdn web docs the says that column breakpoints are given in the debugger only to function calls:
If the line contains multiple function calls, each one will be
given a small blue arrow icon to the left of it. These are called column
breakpoints, and allow you to set the breakpoint to happen exactly on any
one of the function calls in the line (or multiple calls), by clicking on each
relevant one.
However column breakpoints are also set in for loops where no function calls were made. Below is an image i created that highlights the problem:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论