package
Generate artificial backtrace by walking arguments.callee.caller chain
npm install stack-generatorGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 2 packages.
38.4 kB
Includes dependencies.
Generate artificial stacktrace by walking arguments.callee.caller chain. Works everywhere except strict-mode.
StackGenerator.backtrace()
=> [StackFrame({functionName: 'foo', args: []}), StackFrame(..), StackFrame(..)]npm install stack-generator
bower install stack-generator
https://raw.githubusercontent.com/stacktracejs/stack-generator/master/dist/stack-generator.min.jsWant to be listed as a Contributor? Start with the Contributing Guide!
niftylettuce
niftylettuce@gmail.com