Skip to content

ericsong/vdb.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdb.js

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

Quick Start

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

About

visual debugger for js and java(?)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published