Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread Source Map Javascript native EWB Debugging
Sat, Sep 2 2023 12:27 AMPermanent Link

erickengelke

Avatar

I've made a simple prototype which allows REALLY basic source map Javascript debugging with EWB.

Right now, to use it, you have to sprinkle line numbers in you EWB code and run my map file generator.
This is obviously a prototype, don't expect it to be great today.

But it shows that with a little bit of work, it is possible to add multi-file source level debugging to EWB.   All it needs is knowledge of where in each EWB generated JavaScript to find the source line in EWB .wbs files.

I'm hoping Tim will take up the code and add it to EWB.

I documented my project here:
  https://erickengelke.com/h/posts/post11/
which includes a graphic of how source debugging looks in Chrome, and complete source code.

At the moment, Firefox doesn't support the 16 bit source files of EWB, so it only works in Chrome based browsers.


Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Image