Javascript as debugging bytecode

There is growth in javascript languages โ€‹โ€‹such as CoffeeScript and ClojureScript. Since javascript will not go away in the near future, I assume that this development model will continue.

One problem is that you are writing code in one language and debugging in another. The same can be said about the relationship between C and the assembly, but the generated assembly may have built-in metadata debugging, so that the C debugger knows how the assembly relates to the original sode C. For example, the line number that this assembly block represents.

And now for my question:

Does anyone know of any such efforts to incorporate debugging metadata into the resulting javascript from languages โ€‹โ€‹such as CoffeeScript and Clojurescript?

As far as I know, this will require at least a debugger that supports this theoretical metadata.

+8
javascript debugging coffeescript clojurescript
source share
1 answer

Yes. Firefox and Webkit browsers plan to support debugging for CoffeeScript and other languages โ€‹โ€‹that compile for JS: http://www.infoq.com/news/2011/08/debug-languages-on-javascript-vm

+5
source share

All Articles