Skip to content
 
 

Repository files navigation

stack-generator

Build Status Coverage Status Code Climate

Generate artificial backtrace by walking arguments.callee.caller chain. Works everywhere except strict-mode.

Usage

StackGenerator.backtrace()

=> [StackFrame('funName1', []), 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

(See Karma Config for list of browsers tested by CI)

  • Chrome 1+
  • Firefox 3+
  • Safari 6+
  • Opera 9+
  • IE 6+
  • iOS 6+
  • Android 4.0+

Contributing

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

License

This project is licensed to the Public Domain

About

Generate artificial backtrace by walking arguments.callee.caller chain

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages