Electronjs Handle & Catch Crashes

Electronjs Handle & Catch Crashes


In Electronjs You Need A Crash Report Methods To Debug Your Application And Cath Errors And Crashes

So Read This Tips :

1- Using The Electron Crash Reporter Tool

Documentation For Electron Crash Reporter :?Electron | crashReporter

  • crashReporter doesn't catch renderer process crashes no matter where you start it (main or renderer process

2- Using Some Codes In The Renderer Process

- Using Window Event Like The?window.onerror

  • Render Process :

No alt text provided for this image

Main Process :

No alt text provided for this image

2- The Main Process :

No alt text provided for this image



要查看或添加评论,请登录

Mamoun Benhafsa的更多文章

社区洞察

其他会员也浏览了