Skip to content

Generate artificial backtrace by walking arguments.callee.caller chain

License

Notifications You must be signed in to change notification settings

stacktracejs/stack-generator

Repository files navigation

stack-generator

Build StatusCoverage StatusGitHub licensedependenciesmodule formatcode of conduct

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

Sauce Test Status

Contributing

Want to be listed as a Contributor? Start with the Contributing Guide!

About

Generate artificial backtrace by walking arguments.callee.caller chain

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 6