Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
421 views
in Technique[技术] by (71.8m points)

google chrome - Pragmatically resume script execution through javascript after pausing on a breakpoint

I'm trying to write a function which I can run in the Chrome developer tools console which will pragmatically trigger the "Resume script execution" button though javascript when execution is currently paused at a breakpoint.

I am trying to capture the value of a variable in a javascript source file during page load. Best way I can think of doing it is though javascript by setting a breakpoint on the variable, capturing its value then pragmatically continuing execution. It is only part of a personal experiment so it doesn't really matter how I get the value once I can get it.

Thanks.

question from:https://stackoverflow.com/questions/65915153/pragmatically-resume-script-execution-through-javascript-after-pausing-on-a-brea

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...