A little hack that allows you to step through JavaScript code (only in Firefox for now)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
compiler
node_modules
Makefile
README.md
debugger.js
index.html
index2.html
test.js
test2.js
test_.js
vm.js

README.md

This compiles JavaScript, replacing every single expression with a yield form that yields the expression and other useful debugging info. I wrote a VM that executes this special code, and allows you to break and step through code.

Essentially, I've stolen control of the stack, but let JavaScript take care of data and all the other complicated stuff.

Note: This is starting to be shared across the web, but this is just a proof-of-concept. I plan to make this robust and build an online code editor with it.