An example of parsing a stack trace in JavaScript using StackTrace.js.
This example is broken and I've logged an issue with StackTrace.js.
If you are having trouble with StackTrace.js (it has problems and many unresolved issues) I recommend that you try stacktrace-parser. It's simple and it works. Please see my example of using it.
You need Node.js installed to run this.
Clone the repo.
Install dependencies:
cd stack-trace-example
npm install
Run it:
npm start