GithubHelp home page GithubHelp logo

bugsplat-git / node-minidump-stackwalk Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 0.0 10.29 MB

Node.js wrapper for calling Breakpad's minidump-stackwalk

Home Page: https://bugsplat.com

License: MIT License

JavaScript 30.81% TypeScript 69.19%
breakpad crash-reporting crashpad minidump minidumpstackwalk

node-minidump-stackwalk's Introduction

bugsplat-github-banner-basic-outline

BugSplat

Crash and error reporting built for busy developers.

๐Ÿ‘‹ Introduction

node-minidump-stackwalk is a thin wrapper around the Breakpad minidump_stackwalk utility that allows minidump_stackwalk to be added to your project via npm. This package can be invoked via the node-minidump-stackwalk command-line command, or used as a library by importing minidumpStackwalk.

๐Ÿ—๏ธ Installation

Install node-minidump-stackwalk as a package dependency.

npm i node-minidump-stackwalk

Or install node-minidump-stackwalk globally as a command-line tool.

npm i -g node-minidump-stackwalk

๐Ÿง‘โ€๐Ÿ’ป Command

If you installed node-minidump-stackwalk globally you can invoke it in via a terminal window.

node-minidump-stackwalk <minidump-file-path> <symbol-paths> [-p <platform>] [-m] [-s] [-c] [-b] [-v]

The first argument is the path to your minidump file. The second argument is a path or array of paths to search for sym files. Specify a platform with -p <platform>. Valid platforms are darwin, and bullseye. You can also specify the -m, -s, -c, and -b minidump_stackwalk arguments. The -v argument will print stderr to the terminal.

For additional platform support, please open an issue.

๐Ÿ“š Library

Import or require minidumpStackwalk.

import { minidumpStackwalk, minidumpStackwalkSync } from 'node-minidump-stackwalk'

Await a call to minidumpStackwalk, providing it a path to your minidump file, and an array of symbol folder paths, and optionally the platform you're running on as well as options to forward to the minidump_stackwalk executable.

const options: MinidumpStackwalkOptions = {
  machineReadable: true,
  stackContents: false,
  dumpingThreadOnly: false,
  threadBrief: falst
};

await minidumpStackwalk('/path/to/minidump.dmp', ['/path/to/symbols'], 'darwin', options);

You can also call minidumpStackwalkSync to perform the same operation synchronously.

minidumpStackwalkSync('/path/to/minidump.dmp', ['/path/to/symbols'], 'darwin', options);

๐Ÿ› About

BugSplat is a software crash and error reporting service with support for Qt, Linux, Android and many more. BugSplat automatically captures critical diagnostic data such as stack traces, log files, and other runtime information. BugSplat also provides automated incident notifications, a convenient dashboard for monitoring trends and prioritizing engineering efforts, and integrations with popular development tools to maximize productivity and ship more profitable software.

node-minidump-stackwalk's People

Contributors

bobbyg603 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.