Static analysis tools reveal potential bugs by spotting common coding mistakes. But you never really know what your code will do until you run it. An open source tool called Iroh.js, currently in beta development, allows JavaScript developers to perform dynamic code analysis to see exactly how their code behaves at execution.

Iroh enables developers to record code flow in real time. It also can intercept runtime information and manipulate program behavior on the fly. Runtime values such as parameters or variables can be captured while code is running. “You can, for example, collect type information and even manipulate the running program because of the access to all runtime data,” developer Felix Maier said. 

To read this article in full or to leave a comment, please click here