Skip to content

sielay/Readable-backtrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readable_backtrace

I found debug library very helpfull, but output very unreadable. As a noob I publish that snippet for other noobs ;)

Usage

var backtrace = require('readable_backtrace');
...
backtrace();

If you pass TRUE as parameter it will print out full paths to files.

Can print out

nextRoute
index.js:100:7
  pass
  index.js:145:5
    param
    index.js:138:11
      callbacks
      index.js:164:37
        routeTargetFnWrapper
        bind.js:176:5
          module.exports.index
          IndexController.js:13:3
            module.exports
            index.js:16:14
              new Stack
              index.js:33:18
                Object.printStackTrace.implementation.run
                stacktrace.js:43:29
                  Object.printStackTrace.implementation.createException
                  stacktrace.js:54:22

Developing

Tools

Created with Nodeclipse (Eclipse Marketplace, site)

Nodeclipse is free open-source project that grows with your contributions.

About

More readable wrapper around backtrace module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published