Overwrite OnFatalError to create a heapdump
C++ Python JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
binding.gyp
ofe.cc
ofe.js
package.json
test.js

README.md

Here's how to use:

npm install ofe
require('ofe').call();

This will overwrite OnFatalError to create a heapdump when your app fatally crashes.

HUGE props to bnoordhuis for his node-heapdump for all the actually important code.