Visual debuggger js (vdb.js) is a flexible library for visualizing data structures written in Javascript.
With vdb.js you can:
- View data structures in a more intuitive way
- Share snapshots of your variable instances
Download vdb.js:
https://github.com/regonics/vdb.js/client/vdb.js
Include vdb.js before your source file:
<script src="vdb.js">
##Example Usage
//tree points to the head node of a binary tree
drawTree(tree);
//Go to console to get URL to visit
##Installing a local server Users also have the option of creating their own server instead of querying ours
git clone https://github.com/ericsong/vdb.js
cd vdb.js/
npm install
//change vdb.js address to localhost
##Run the server
sudo PORT=80 node server.js
##Running Examples
visual: http://ec2-54-242-13-238.compute-1.amazonaws.com/getData?key=19xtf1tu
code: https://raw.githubusercontent.com/ericsong/vdb.js/master/demos/index.html
visual: http://ec2-54-242-13-238.compute-1.amazonaws.com/getData?key=19xtf1u0
code: https://raw.githubusercontent.com/ericsong/vdb.js/master/demos/node1.html
visual: http://ec2-54-242-13-238.compute-1.amazonaws.com/getData?key=19xtf1u1
code: https://raw.githubusercontent.com/ericsong/vdb.js/master/demos/node2.html
visual: http://ec2-54-242-13-238.compute-1.amazonaws.com/getData?key=19xtf1u2
code: https://raw.githubusercontent.com/ericsong/vdb.js/master/demos/node3.html