Show HN: A JavaScript debugger (press Go to debug bubble sort) (appshare.co) 3 points by zubairq 7y ago ↗ HN
[–] zubairq 7y ago ↗ This is a simple app which can be used to build and debug small Javascript apps. Ask me any questions that you may have [–] divby0 7y ago ↗ This is a very cool app. how did you implement the `steps`. i meant how exactly the state is saved for the entire program? [–] zubairq 7y ago ↗ Thanks. To implement the steps I take the Javascript source code, then I use Esprima to parse the code and insert Javascript lines to trace the variable values:http://esprima.org/The code is open source and available on Github too:https://github.com/zubairq/appshare
[–] divby0 7y ago ↗ This is a very cool app. how did you implement the `steps`. i meant how exactly the state is saved for the entire program? [–] zubairq 7y ago ↗ Thanks. To implement the steps I take the Javascript source code, then I use Esprima to parse the code and insert Javascript lines to trace the variable values:http://esprima.org/The code is open source and available on Github too:https://github.com/zubairq/appshare
[–] zubairq 7y ago ↗ Thanks. To implement the steps I take the Javascript source code, then I use Esprima to parse the code and insert Javascript lines to trace the variable values:http://esprima.org/The code is open source and available on Github too:https://github.com/zubairq/appshare
3 comments
[ 0.25 ms ] story [ 12.1 ms ] threadhttp://esprima.org/
The code is open source and available on Github too:
https://github.com/zubairq/appshare