Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

node.js - Puppeteer Chromium - detect ERR_STATUS_BREAKPOINT on Windows 10

I was using the same script for Mac for a while, and it ran without issues. I had to move it to my machine with Windows 10, and it keeps crashing (per page/tab) with error ERR_STATUS_BREAKPOINT. I was doing some research about it, but seems nobody has the same issue specifically with Puppeteer. Although I found a possible solution - prevent the processor from overclocking. But it didn't help the problem.

My app is basically keeps reloading 6 tabs 1-2 times per second, and the browser is reloaded (kill all chrome process, exit node process, relaunch node process with forever) every 2 minutes to prevent memory leak. In the beginning it runs perfectly, but after 20-30 minutes, it keeps throwing the error. I have the catch block if page load failed, and it tries to reload the page, but it doesn't do.

So my question is how to detect chrome crashes in puppeteer, how to possibly avoid the issue, and how to reload after crash.

question from:https://stackoverflow.com/questions/65942210/puppeteer-chromium-detect-err-status-breakpoint-on-windows-10

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

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...