Package Exports
- stack-generator
- stack-generator/stack-generator.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stack-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
stack-generator
Generate artificial stacktrace by walking arguments.callee.caller
chain. Works everywhere except strict-mode.
Usage
StackGenerator.backtrace()
=> [StackFrame({functionName: 'foo', args: []}), StackFrame(..), StackFrame(..)]
Installation
npm install stack-generator
bower install stack-generator
https://raw.githubusercontent.com/stacktracejs/stack-generator/master/dist/stack-generator.min.js
Browser Support
Contributing
Want to be listed as a Contributor? Start with the Contributing Guide!