[英]When debugging Javascript in Chrome Devtools, how can I continue after hitting a DOM breakpoint?
I'm debugging a JS code with Chrome Devtools. 我正在使用Chrome Devtools调试JS代码。 I set a DOM breakpoint, the code hit it, but I cannot continue (ie, the controls for "next line", "continue", etc. are missing)...I could only run my code again after closing the browser and opening it again...
我设置了一个DOM断点,代码命中了它,但是我无法继续(例如,缺少“下一行”,“继续”等控件)...我只能在关闭浏览器后再次运行我的代码,再次打开...
The controls aren't shown in the DOM window, but you can continue in two ways: 控件没有显示在DOM窗口中,但是您可以通过两种方式继续:
In the window you're debugging, in the center at the top, there should be a small overlay saying "Paused in debugger" with a run icon. 在您正在调试的窗口的顶部中心位置,应该有一个小的覆盖物,上面写着“已在调试器中暂停”并带有运行图标。 Click the run icon.
单击运行图标。
Switch to the Sources tab, which has the various buttons, and use one of those. 切换到具有各种按钮的“源”选项卡,然后使用其中之一。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.