[英]Is there a way to move the program counter in the Chrome debugger?
Is there a way to move the program counter to a given line when debugging Javascript in Chrome?在 Chrome 中调试 Javascript 时,有没有办法将程序计数器移动到给定的行? I do not mean continue to a given line, but to skip instructions.
我的意思不是继续到给定的行,而是跳过指令。
I wasn't able to find anything in the tutorials or help.我无法在教程或帮助中找到任何内容。 I'm using v 49.0.2623.87 at the moment.
我目前使用的是 v 49.0.2623.87。
No there is not, but you can wrap all that code to be executed in a function and call it via console.不,没有,但是您可以将所有要执行的代码包装在一个函数中并通过控制台调用它。 Or just copy and paste the code you want it to be executed into the console... Try to find a solution this way.
或者只是将您希望它执行的代码复制并粘贴到控制台中......尝试以这种方式找到解决方案。 Hope it helps!
希望能帮助到你!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.