Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sielay/readable-backtrace
More readable wrapper around backtrace module
https://github.com/sielay/readable-backtrace
Last synced: 1 day ago
JSON representation
More readable wrapper around backtrace module
- Host: GitHub
- URL: https://github.com/sielay/readable-backtrace
- Owner: sielay
- License: mit
- Created: 2014-07-21T19:31:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-21T19:52:58.000Z (over 10 years ago)
- Last Synced: 2024-10-11T13:16:37.405Z (25 days ago)
- Language: JavaScript
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# readable_backtrace
I found debug library very helpfull, but output very unreadable. As a noob I publish that snippet for other noobs ;)
## Usage
```javascript
var backtrace = require('readable_backtrace');
...
backtrace();
```If you pass TRUE as parameter it will print out full paths to files.
Can print out
```bash
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](https://github.com/Nodeclipse/nodeclipse-1)
([Eclipse Marketplace](http://marketplace.eclipse.org/content/nodeclipse), [site](http://www.nodeclipse.org))Nodeclipse is free open-source project that grows with your contributions.