stack-generator
Generate artificial backtrace by walking arguments.callee.caller chain
Last updated 6 years ago by eriwen .
MIT · Repository · Bugs · Original npm
$ cnpm install stack-generator 
SYNC missed versions from official npm registry.

stack-generator

Build Status Coverage Status GitHub license

Generate artificial backtrace 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!

License

This project is licensed to the Public Domain

Current Tags

  • 2.0.5                                ...           latest (6 years ago)
  • 1.1.0                                ...           next (10 years ago)

2 Versions

  • 1.1.0                                ...           10 years ago
  • 2.0.5                                ...           6 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org