Hi all,

 

we have been working on a JerryScript debugger for some time and released the initial version of the debugger:

 

https://github.com/jerryscript-project/jerryscript/pull/1557

 

In this patch we focus on execution control. Breakpoints can be added or removed, and traditional control commands (continue, step, next) are working now and JS backtrace is also available. The most notable missing feature is variable inspecting and updating but we have plans for implementing that in the future. However we feel that the core design of the debugger is ready to land.

 

The debugger is a remote debugger so the debugger client is a separate application which can run on a desktop system. We use websocket protocol for transmitting packets which allows browsers to directly communicate with JerryScript without installing any extra applications. However any reliable message based protocol can be used to transmit messages depending on the platform. The only requirement is minimum 64 byte message size. Currently two debugger clients are provided in the patch: one of them is written in html/_javascript_ and the other is in python.

 

Let us know if you have any questions in the pull request.

 

Regards,

Zoltan

 

 

  

_______________________________________________
jerryscript-dev mailing list
[email protected]
https://mail.gna.org/listinfo/jerryscript-dev

Reply via email to