Resolve the exception stack with v8 formated from weex through [source-map](https://github.com/mozilla/source-map).
npm install weex-exception-resolverThis is a library to resolve the exception stack with v8 formated from weex through source-map.
```
npm install --save weex-exception-resolver
The exception stack contains two types of StackFrame
- StackFrame from main.js(weex js framework)
- StackFrame from a bundle
To resolve the exception stack, you need to feed the resolver with two map paths:
`shell`
bin/exception-resolver -m "path to your main.js.map" -b "path to your bundle.map" -s "exception"
Then, you can get the resolved exception stack from stdout.
The exception above is a line-break-separated String, take a look at the following example:
mo is not defined\n at eval (eval at _ ((weex):4:20831),
- Support v8-formated js stack
- Support jsc-formated js stack
Copyright © 2017 by Bruno Duan. Released under the MIT license.