/my-electron-crasher

⚡️🌩🔋 Sample Electron TypeScript application integrated with BugSplat for crash and error reporting

Primary LanguageTypeScriptCreative Commons Zero v1.0 UniversalCC0-1.0

bugsplat-github-banner-basic-outline

BugSplat

Crash and error reporting built for busy developers.

Follow @bugsplatco on Twitter Join BugSplat on Discord

my-electron-crasher

The my-electron-crasher sample demonstrates how to use how to use Electron's Crashpad based crashReporter for tracking native crashes with BugSplat. This sample also demonstrates BugSplat's npm package to track JavaScript/TypeScript errors in your Electron application.

my-electron-crasher

🥾 Steps

  1. git clone https://github.com/BugSplat-Git/my-electron-crasher
  2. cd my-electron-crasher && npm i
  3. npm start which will run the build and upload source maps via @bugsplat/symbol-upload
  4. Click any of the buttons in the app to test the BugSplat integration
  5. Navigate to BugSplat's Crashes page in your web browser
  6. When prompted to log in, use the username fred@bugsplat.com and password Flintstone
  7. Click the ID of your crash to see crash details. If everything worked, you should see something that resembles the following
Electron Crash

For more information about getting started with Electron, check out the Quick Start Guide within the Electron documentation. For additional help using BugSplat, check out the documentation on our website or email support(at)bugsplat.com if you have any questions.

Native Addon

If you would like to test a crash in a Native Addon, follow the steps to configure your system for cmake-js and set the prestart script to npm run build:all.

Good luck! © BugSplat Software Web | Twitter | Facebook